Export (0) Print
Expand All

WeakReference<T> Methods

.NET Framework 4.5

The WeakReference<T> type exposes the following members.

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetObjectData Populates a SerializationInfo object with all the data necessary to serialize the current WeakReference<T> object.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method SetTarget Sets the target object that is referenced by this WeakReference<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<T> object.
Top
Show:
© 2014 Microsoft