Mono Class Library: System.Runtime.InteropServices.GCHandle Overview | Members

System.Runtime.InteropServices.GCHandle.Target Property

Gets or sets a reference to the object the current System.Runtime.InteropServices.GCHandle instance represents.

public object Target { set; get; }

Value

The object this handle represents.

Exceptions

TypeReason
InvalidOperationExceptionThe current System.Runtime.InteropServices.GCHandle instance has already been freed or was never initialized.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0