IntPtr Structure |
Namespace: System
[SerializableAttribute] public struct IntPtr : ISerializable
The IntPtr type exposes the following members.
Name | Description | |
---|---|---|
Equals | Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueTypeEquals(Object).) | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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. | |
ToString | Converts the numeric value of the current IntPtr object to its equivalent string representation. (Overrides ValueTypeToString.) | |
ToString(String) | Converts the numeric value of the current IntPtr object to its equivalent string representation. |
Name | Description | |
---|---|---|
Addition | Adds an offset to the value of a pointer. | |
Equality | Determines whether two specified instances of IntPtr are equal. | |
Inequality | Determines whether two specified instances of IntPtr are not equal. |
Name | Description | |
---|---|---|
Zero | A read-only field that represents a pointer or handle that has been initialized to zero. |