Mono Class Library: Overview

System.Runtime.InteropServices.GCHandle: Members

The members of System.Runtime.InteropServices.GCHandle are listed below.

See Also: Inherited members from System.ValueType

Public Properties

[read-only]
IsAllocatedbool. Gets a bool value indicating whether the current System.Runtime.InteropServices.GCHandle instance is allocated.
Targetobject. Gets or sets a reference to the object the current System.Runtime.InteropServices.GCHandle instance represents.

Public Methods

AddrOfPinnedObject() : IntPtr
Returns the address of an object being referred to by a GCHandleType.Pinned handle.
static
Alloc(object) : GCHandle
Allocates a GCHandleType.Normal handle for the specified object.
static
Alloc(object, GCHandleType) : GCHandle
Allocates a handle of the specified type for the specified object.
override
Equals(object) : bool
Documentation for this section has not yet been entered.
Free()
Frees a System.Runtime.InteropServices.GCHandle.
static
FromIntPtr(IntPtr) : GCHandle
Documentation for this section has not yet been entered.
override
GetHashCode() : int
Documentation for this section has not yet been entered.
static
ToIntPtr(GCHandle) : IntPtr
Documentation for this section has not yet been entered.

Public Operators

static
Equality(GCHandle, GCHandle)Documentation for this section has not yet been entered.
static
Inequality(GCHandle, GCHandle)Documentation for this section has not yet been entered.
static
Conversion to System.Runtime.InteropServices.GCHandle(Explicit) Convert a IntPtr to a System.Runtime.InteropServices.GCHandle instance.
static
Conversion to System.IntPtr(Explicit) Converts a System.Runtime.InteropServices.GCHandle instance to a IntPtr.