IntPtr Operators and Type Conversions

The IntPtr type exposes the following members.

  Name Description
Public operator Static member Supported by Portable Class Library Addition Adds an offset to the value of a pointer.
Public operator Static member Supported by the XNA Framework Supported by Portable Class Library Equality Determines whether two specified instances of IntPtr are equal.
Public operator Static member Supported by the XNA Framework Supported by Portable Class Library Explicit(Int32 to IntPtr) Converts the value of a 32-bit signed integer to an IntPtr.
Public operator Static member Supported by the XNA Framework Supported by Portable Class Library Explicit(Int64 to IntPtr) Converts the value of a 64-bit signed integer to an IntPtr.
Public operator Static member Supported by the XNA Framework Supported by Portable Class Library Explicit(IntPtr to Void*) Converts the value of the specified IntPtr to a pointer to an unspecified type.
Public operator Static member Supported by the XNA Framework Supported by Portable Class Library Explicit(IntPtr to Int64) Converts the value of the specified IntPtr to a 64-bit signed integer.
Public operator Static member Supported by the XNA Framework Supported by Portable Class Library Explicit(IntPtr to Int32) Converts the value of the specified IntPtr to a 32-bit signed integer.
Public operator Static member Supported by the XNA Framework Supported by Portable Class Library Explicit(Void* to IntPtr) Converts the specified pointer to an unspecified type to an IntPtr.
Public operator Static member Supported by the XNA Framework Supported by Portable Class Library Inequality Determines whether two specified instances of IntPtr are not equal.
Public operator Static member Supported by Portable Class Library Subtraction Subtracts an offset from the value of a pointer.
Top
Show: