CrmDecimal.IsNull Field

banner art

Specifies that the field value is a null value.

Syntax

[Visual Basic]
Public Field IsNull As Boolean

[C#]
public bool IsNull;

[JScript]
public var IsNull : Boolean;

Remarks

To set an attribute to a null value, you must set both the IsNull and IsNullSpecified fields to true.

Example

The following example shows how to set the attribute to a null value.

CrmDecimal dec = new CrmDecimal();
dec.IsNull = true;
dec.IsNullSpecified = true;

See Also

© 2007 Microsoft Corporation. All rights reserved.