BuildMaster SDK Reference
Version:
NullIf(string a, string b) Method
Returns a null (Nothing in Visual Basic) reference if the two specified parameters are equal (or if either are null (Nothing in Visual Basic)); otherwise, returns the first parameter.
Syntax
public
static
string NullIf(string a, string b)
Parameters
- a
- Type: string
The first parameter.
- b
- Type: string
The second parameter.
Returns
Null (Nothing in Visual Basic) reference if the two specified parameters are equal (or if either are null (Nothing in Visual Basic)); otherwise, the first parameter.