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

WeakReference(Of T) Methods

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

The WeakReference(Of T) type exposes the following members.

  NameDescription
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetTarget Sets the target object that is referenced by this WeakReference(Of T) object.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetTarget Tries to retrieve the target object that is referenced by the current WeakReference(Of T) object.
Top

Show:
© 2017 Microsoft