WeakReference Members
Collapse the table of content
Expand the table of content

WeakReference Members

WeakReference overview

Public Constructors

public constructorWeakReference Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the WeakReference class.

Public Properties

public propertyIsAlive

Supported by the .NET Compact Framework.

Gets an indication whether the object referenced by this instance has been garbage collected.
public propertyTarget

Supported by the .NET Compact Framework.

Gets or sets the object (the target) referenced by this instance.
public propertyTrackResurrection

Supported by the .NET Compact Framework.

Gets an indication whether the object referenced by this instance is tracked after it is garbage collected and finalized.

Public Methods

public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetObjectData Populates a SerializationInfo object with all the data needed to serialize this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Constructors

protected constructorWeakReference Constructor Overloaded. Initializes a new instance of the WeakReference class.

Protected Methods

protected methodFinalize

Supported by the .NET Compact Framework.

Overridden. Frees any resources allocated by this instance.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

WeakReference Class | System Namespace

Show:
© 2016 Microsoft