IntPtr Narrowing Conversion (Int64 to IntPtr)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Converts the value of a 64-bit signed integer to an IntPtr.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- value
- Type: System.Int64
A 64-bit signed integer.
| Exception | Condition |
|---|---|
| OverflowException | On a 32-bit platform, value is too large to represent as an IntPtr. |
Show: