UIntPtr Explicit Conversion (UInt64 to UIntPtr)

May 11, 2014

Converts the value of a 64-bit unsigned integer to an UIntPtr.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static explicit operator UIntPtr (
	ulong value
)

Parameters

value
Type: System.UInt64
A 64-bit unsigned integer.

Return Value

Type: System.UIntPtr
A new instance of UIntPtr initialized to value.

ExceptionCondition
OverflowException

On a 32-bit platform, value is too large to represent as an UIntPtr.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft