Export (0) Print
Expand All

IntPtr Explicit Conversion Operators

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public operator Static member Explicit(Int32 to IntPtr) Converts the value of a 32-bit signed integer to an IntPtr.
Public operator Static member Explicit(Int64 to IntPtr) Converts the value of a 64-bit signed integer to an IntPtr.
Public operator Static member Explicit(IntPtr to Void*) Converts the value of the specified IntPtr to a pointer to an unspecified type.
Public operator Static member Explicit(IntPtr to Int32) Converts the value of the specified IntPtr to a 32-bit signed integer.
Public operator Static member Explicit(IntPtr to Int64) Converts the value of the specified IntPtr to a 64-bit signed integer.
Public operator Static member Explicit(Void* to IntPtr) Converts the specified pointer to an unspecified type to an IntPtr.
Top
Show:
© 2014 Microsoft