UIntPtr Operators and Type Conversions

July 28, 2014

The UIntPtr type exposes the following members.

  NameDescription
Public operator Static member Addition Adds an offset to the value of an unsigned pointer.
Public operator Static member Equality Determines whether two specified instances of UIntPtr are equal.
Public operator Static member Explicit(UInt32 to UIntPtr) Converts the value of a 32-bit unsigned integer to an UIntPtr.
Public operator Static member Explicit(UInt64 to UIntPtr) Converts the value of a 64-bit unsigned integer to an UIntPtr.
Public operator Static member Explicit(UIntPtr to UInt64) Converts the value of the specified UIntPtr to a 64-bit unsigned integer.
Public operator Static member Explicit(UIntPtr to Void*) Security Critical. Converts the value of the specified UIntPtr to a pointer to an unspecified type.
Public operator Static member Explicit(UIntPtr to UInt32) Converts the value of the specified UIntPtr to a 32-bit unsigned integer.
Public operator Static member Explicit(Void* to UIntPtr) Security Critical. Converts the specified pointer to an unspecified type to a UIntPtr.
Public operator Static member Inequality Determines whether two specified instances of UIntPtr are not equal.
Public operator Static member Subtraction Subtracts an offset from the value of an unsigned pointer.
Top

Show:
© 2014 Microsoft