Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

WeakReference Members

Represents a weak reference, which references an object while still allowing that object to be garbage collected.

The following tables list the members exposed by the WeakReference type.

(see also Protected Constructors )
  Name Description
Public method Supported by the .NET Compact Framework WeakReference Overloaded. Initializes a new instance of the WeakReference class.
Top
  Name Description
Protected method WeakReference Overloaded. Initializes a new instance of the WeakReference class.
Top
  Name Description
Public property Supported by the .NET Compact Framework IsAlive Gets an indication whether the object referenced by the current WeakReference object has been garbage collected.
Public property Supported by the .NET Compact Framework Target Gets or sets the object (the target) referenced by the current WeakReference object.
Public property Supported by the .NET Compact Framework TrackResurrection Gets an indication whether the object referenced by the current WeakReference object is tracked after it is finalized.
Top
(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetObjectData Populates a SerializationInfo object with all the data needed to serialize the current WeakReference object.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top
  Name Description
Protected method Supported by the .NET Compact Framework Finalize Overridden. Discards the reference to the target represented by the current WeakReference object.
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.