UIntPtr Operators and Type Conversions

UIntPtr Operators and Type Conversions

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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:
© 2017 Microsoft