BuildMaster SDK Reference
Version:
NullIf(object a, object 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) or DBNull.Value); otherwise, returns the first parameter.
Syntax
public
static
object NullIf(object a, object b)
Parameters
- a
- Type: object
The first parameter.
- b
- Type: object
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) or DBNull.Value); otherwise, the first parameter.