Partager via


IsPropertyNull Method

Gets a value indicating whether the specified property contains a nullNothingnullptra null reference (Nothing in Visual Basic) value.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Overrides Function IsPropertyNull ( _
    propertyName As String _
) As Boolean
'Usage
Dim instance As CatalogProperty
Dim propertyName As String
Dim returnValue As Boolean

returnValue = instance.IsPropertyNull(propertyName)
public override bool IsPropertyNull(
    string propertyName
)
public:
virtual bool IsPropertyNull(
    String^ propertyName
) override
public override function IsPropertyNull(
    propertyName : String
) : boolean

Parameters

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

See Also

Reference

CatalogProperty Class

CatalogProperty Members

Microsoft.CommerceServer.Catalog Namespace