IntPtr Operators and Type Conversions

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The IntPtr type exposes the following members.

Operators

  Name Description
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equality Determines whether two specified instances of IntPtr are equal.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Int32 to IntPtr) Converts the value of a 32-bit signed integer to an IntPtr.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Int64 to IntPtr) Converts the value of a 64-bit signed integer to an IntPtr.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(IntPtr to Void*) Converts the value of the specified IntPtr to a pointer to an unspecified type.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(IntPtr to Int64) Converts the value of the specified IntPtr to a 64-bit signed integer.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(IntPtr to Int32) Converts the value of the specified IntPtr to a 32-bit signed integer.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Void* to IntPtr) Converts the specified pointer to an unspecified type to an IntPtr.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Inequality Determines whether two specified instances of IntPtr are not equal.

Top

See Also

Reference