WeakReference(T) Constructor (T)
Collapse the table of content
Expand the table of content

WeakReference<T> Constructor (T)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the WeakReference<T> class that references the specified object.

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

public WeakReference(
	T target


Type: T
The object to reference, or null.

Windows Phone OS

Supported in: 8.1, 8.0

© 2017 Microsoft