Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IntPtr Explicit Conversion Operators

 

Converts a specified data type to an IntPtr value, or an IntPtr value to a specified data type.

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

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticExplicit(Int32 to IntPtr)

Converts the value of a 32-bit signed integer to an IntPtr.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(Int64 to IntPtr)

Converts the value of a 64-bit signed integer to an IntPtr.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(IntPtr to Int32)

Converts the value of the specified IntPtr to a 32-bit signed integer.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(IntPtr to Int64)

Converts the value of the specified IntPtr to a 64-bit signed integer.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(IntPtr to Void*)

Converts the value of the specified IntPtr to a pointer to an unspecified type.

System_CAPS_puboperatorSystem_CAPS_staticExplicit(Void* to IntPtr)

Converts the specified pointer to an unspecified type to an IntPtr.

Return to top
Show:
© 2017 Microsoft