WeakReference(Of T).TryGetTarget Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Tries to retrieve the target object that is referenced by the current WeakReference(Of T) object.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- target
- Type:
T
%
When this method returns, contains the target object, if available. This parameter is passed uninitialized.
Show: