August 2003
Intermediate to advanced
928 pages
32h 1m
English
UIntPtr
This structure is provided mainly
for symmetry with
IntPtr. Use IntPtr, which is
CLS-compliant, instead.
public struct UIntPtr : System.Runtime.Serialization.ISerializable { // Public Constructors public UIntPtr(uintvalue); public UIntPtr(ulongvalue); public UIntPtr(void*value); // Public Static Fields public static readonly UIntPtr Zero; // =0 // Public Static Properties public static int Size{get; } // Public Static Methods public static bool operator !=(UIntPtrvalue1, UIntPtrvalue2); public static bool operator = =(UIntPtrvalue1, UIntPtrvalue2); public static explicit operator uint(UIntPtrvalue); public static explicit operator ulong(UIntPtrvalue); public static explicit operator UIntPtr(uintvalue); public static explicit operator UIntPtr(ulongvalue); public static explicit operator UIntPtr(void*value); public static explicit operator Void(UIntPtrvalue); // Public Instance Methods public override bool Equals(objectobj); // overrides ValueType public override int GetHashCode( ); // overrides ValueType public void* ToPointer( ); public override string ToString( ); // overrides ValueType public uint ToUInt32( ); public ulong ToUInt64( ); }
Object
→
ValueType
→
UIntPtr(System.Runtime.Serialization.ISerializable)
System.Threading.Thread.{VolatileRead( ),
VolatileWrite( )}