GCHandle Methods
.NET Framework 3.5
The GCHandle type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddrOfPinnedObject | Retrieves the address of an object in a Pinned handle. |
|
Alloc | Overloaded. Allocates a handle for the specified object. |
|
Equals |
Determines whether the specified GCHandle object is equal to the current GCHandle object. (Overrides ValueType.Equals(Object).) In .NET Compact Framework, this member is overridden by Equals(Object). In XNA Framework, this member is overridden by 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.) |
|
Free | Releases a GCHandle. |
|
FromIntPtr | Returns a new GCHandle object created from a handle to a managed object. |
|
GetHashCode |
Returns an identifier for the current GCHandle object. (Overrides ValueType.GetHashCode().) In .NET Compact Framework, this member is overridden by GetHashCode(). In XNA Framework, this member is overridden by GetHashCode(). |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToIntPtr | Returns the internal integer representation of a GCHandle object. |
|
ToString |
Returns the fully qualified type name of this instance. (Inherited from ValueType.) In .NET Compact Framework 3.5, this member is inherited from Object.ToString(). In XNA Framework 3.0, this member is inherited from Object.ToString(). |