IsPropertyNull Method
Gets a value indicating whether the specified property contains a nullNothingnullptra 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 InventoryCatalog
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 name of the property to access.
Return Value
Type: System..::.Boolean
Returns true if the propertyName in the underlying database contains a nullNothingnullptra null reference (Nothing in Visual Basic) value; otherwise false.
Remarks
Performs a query of the underlying database to determine if the specified propertyName contains a nullNothingnullptra null reference (Nothing in Visual Basic) 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.