IsPropertyNull Method
Gets a value indicating whether the specified property contains a DBnullNothingnullptra null reference (Nothing in Visual Basic) value.
Namespace: Microsoft.CommerceServer.Inventory
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Function IsPropertyNull ( _
propertyName As String _
) As Boolean
'Usage
Dim instance As InventorySku
Dim propertyName As String
Dim returnValue As Boolean
returnValue = instance.IsPropertyNull(propertyName)
public bool IsPropertyNull(
string propertyName
)
public:
bool IsPropertyNull(
String^ propertyName
)
public function IsPropertyNull(
propertyName : String
) : boolean
Parameters
- propertyName
Type: System..::.String
The property to check for nullNothingnullptra null reference (Nothing in Visual Basic).
Return Value
Type: System..::.Boolean
Returns true if the propertyName in the underlying database contains a DBnull value; otherwise false.
Remarks
Performs a query of the underlying database to determine if the specified propertyName contains a DBNull value.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.