System.Runtime.InteropServices.GCHandleType.Weak Field

This handle type is used to track an object, but allow it to be collected. When an object is collected, the contents of the System.Runtime.InteropServices.GCHandle are zeroed. Weak references are zeroed before the finalizer runs, so even if the finalizer resurrects the object, the Weak reference is still zeroed.

Value: Weak

Syntax

GCHandleType Weak

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, 4.0.0.0