WeakReference Class

Windows Automotive 5.0/5.5
Represents a weak reference, which references an object but still leaves it prone to garbage collection.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

public class WeakReference

The common language runtime (CLR) garbage collection mechanism reclaims inaccessible (unreachable) memory that is allocated to a particular object. An object becomes inaccessible if all references to it become invalid (for example, if you set those references to a null reference).

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions