Mono Class Library: System.UIntPtr Overview | Members

System.UIntPtr.Zero Field

Represents a pointer or handle that has been initialized as zero. [Edit]

Value: 0

public static readonly UIntPtr Zero

Remarks

Note:

The value of this field is not null , but is instead a pointer which has been assigned the value zero. Use this field to efficiently determine whether an instance of UIntPtr has been set to a value other than zero. For example, if uip is a UIntPtr instance, using uip != UIntPtr.Zero is more efficient than uip != new UIntPtr(0) to test if uip has been set to a value other than zero.

[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0