System.UIntPtr Members

The members of System.UIntPtr are listed below.

See Also: Inherited members from System.ValueType

Public Constructors

Initializes a new instance of the UIntPtr structure using the specified 32-bit pointer or handle.

Initializes a new instance of UIntPtr using the specified 64-bit pointer or handle.

Initializes a new instance of UIntPtr using the specified pointer to an unspecified type.

Public Fields

static readonly
ZeroUIntPtr (0).

A read-only field that represents a pointer or handle that has been initialized to zero.

Public Properties

[read-only]
static
Sizeint (4).

Gets the size of this instance.

Public Methods

static
Add(UIntPtr, int) : UIntPtr

Adds an offset to the value of an unsigned pointer.

override
Equals(object) : bool

Returns a value indicating whether this instance is equal to a specified object.

override
GetHashCode() : int

Returns the hash code for this instance.

static
Subtract(UIntPtr, int) : UIntPtr

Subtracts an offset from the value of an unsigned pointer.

ToPointer() : void*

Converts the value of this instance to a pointer to an unspecified type.

override
ToString() : string

Converts the numeric value of this instance to its equivalent string representation.

ToUInt32() : uint

Converts the value of this instance to a 32-bit unsigned integer.

ToUInt64() : ulong

Converts the value of this instance to a 64-bit unsigned integer.

Public Operators

static
Addition(UIntPtr, int)

Adds an offset to the value of an unsigned pointer.

static
Equality(UIntPtr, UIntPtr)

Determines whether two specified instances of UIntPtr are equal.

static
Inequality(UIntPtr, UIntPtr)

Determines whether two specified instances of UIntPtr are not equal.

static
Subtraction(UIntPtr, int)

Subtracts an offset from the value of an unsigned pointer.

static
Conversion to System.UIntPtr(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.UIntPtr(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.UInt32(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.UInt64(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.Void*(Explicit)Documentation for this section has not yet been entered.
static
Conversion to System.UIntPtr(Explicit)Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

System.Runtime.Serialization.ISerializable.GetObjectData

Populates a System.Runtime.Serialization.SerializationInfo object with the data needed to serialize the current UIntPtr object.