WeakReference<T> Methods

.NET Framework (current version)
 

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

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Discards the reference to the target that is represented by the current WeakReference<T> object.(Overrides Object::Finalize().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo^, StreamingContext)

Populates a SerializationInfo object with all the data necessary to serialize the current WeakReference<T> object.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSetTarget(T)

Sets the target object that is referenced by this WeakReference<T> object.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTryGetTarget(T%)

Tries to retrieve the target object that is referenced by the current WeakReference<T> object.

Return to top
Show: