This documentation is archived and is not being maintained.
IntPtr Operators and Type Conversions
Visual Studio 2010
The IntPtr type exposes the following members.
| Name | Description | |
|---|---|---|
|
Addition | Adds an offset to the value of a pointer. |
|
Equality | Determines whether two specified instances of IntPtr are equal. |
|
Explicit(Int32 to IntPtr) | Converts the value of a 32-bit signed integer to an IntPtr. |
|
Explicit(Int64 to IntPtr) | Converts the value of a 64-bit signed integer to an IntPtr. |
|
Explicit(IntPtr to Void*) | Converts the value of the specified IntPtr to a pointer to an unspecified type. |
|
Explicit(IntPtr to Int64) | Converts the value of the specified IntPtr to a 64-bit signed integer. |
|
Explicit(IntPtr to Int32) | Converts the value of the specified IntPtr to a 32-bit signed integer. |
|
Explicit(Void* to IntPtr) | Converts the specified pointer to an unspecified type to an IntPtr. |
|
Inequality | Determines whether two specified instances of IntPtr are not equal. |
|
Subtraction | Subtracts an offset from the value of a pointer. |
Show: