This documentation is archived and is not being maintained.
IntPtr Methods
Visual Studio 2010
The IntPtr type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add | Adds an offset to the value of a pointer. |
|
Equals | Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueType::Equals(Object).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Returns the hash code for this instance. (Overrides ValueType::GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Subtract | Subtracts an offset from the value of a pointer. |
|
ToInt32 | Converts the value of this instance to a 32-bit signed integer. |
|
ToInt64 | Converts the value of this instance to a 64-bit signed integer. |
|
ToPointer | Converts the value of this instance to a pointer to an unspecified type. |
|
ToString() | Converts the numeric value of the current IntPtr object to its equivalent string representation. (Overrides ValueType::ToString().) |
|
ToString(String) | Converts the numeric value of the current IntPtr object to its equivalent string representation. |
| Name | Description | |
|---|---|---|
|
ISerializable::GetObjectData | Populates a SerializationInfo object with the data needed to serialize the current IntPtr object. |
Show: