GCHandle Structure |
Namespace: System.Runtime.InteropServices
public struct GCHandle
The GCHandle type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddrOfPinnedObject | Retrieves the address of an object in a Pinned handle. |
![]() ![]() | Alloc(Object) | Allocates a Normal handle for the specified object. |
![]() ![]() | Alloc(Object, GCHandleType) | Allocates a handle of the specified type for the specified object. |
![]() | Equals | Determines whether the specified GCHandle object is equal to the current GCHandle object. (Overrides ValueTypeEquals(Object).) |
![]() | Free | Releases a GCHandle. |
![]() | GetHashCode | Returns an identifier for the current GCHandle object. (Overrides ValueTypeGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |