Explicit Conversion (UInt64 to UIntPtr)

UIntPtr Explicit Conversion (UInt64 to UIntPtr)

 

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.

Exception Condition
OverflowException

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

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft