class WeakReference<T>

in global :: System

Represents a typed weak reference, which references an object while still allowing that object to be reclaimed by garbage collection.

  • T The type of the object referenced.

public void GetObjectData( SerializationInfo info, StreamingContext context )

Populates a object with all the data necessary to serialize the current object.

  • info An object that holds all the data necessary to serialize or deserialize the current object.
  • context The location where serialized data is stored and retrieved.

public bool TryGetTarget( ref T target )

😔 No documentation found.

public void SetTarget( T target )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public WeakReference<T>( T target )

😔 No documentation found.

public WeakReference<T>( T target, bool trackResurrection )

😔 No documentation found.