Compartir a través de


WeakReference Constructor

Initializes a new instance of the WeakReference class, referencing a specified object.

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

Syntax

[MethodImplAttribute]
public WeakReference (
         Object target
)

Parameters

  • target
    The object you want to reference, or a null reference.

Version Information

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

See Also

Reference

WeakReference Class
WeakReference Members
System Namespace