Share via


UniqueIdentifier.IsNull Field

banner art

Specifies that the field value is a null value.

Syntax

[Visual Basic .NET]
Public Field IsNull As Boolean
[C#]
public bool IsNull;
[JScript]
public var IsNull : Boolean;

Remarks

To set an attribute value 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.

UniqueIdentifier uid = new UniqueIdentifier();
uid.IsNull = true;
uid.IsNullSpecified = true;

See Also

© 2007 Microsoft Corporation. All rights reserved.