Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WeakReference Members
Collapse the table of content
Expand the table of content

WeakReference Members

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

The WeakReference type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WeakReference Overloaded. Initializes a new instance of the WeakReference class.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Discards the reference to the target represented by the current WeakReference object. (Overrides Object.Finalize().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Serves as a hash function for a particular type. (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 Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework Target Gets or sets the object (the target) referenced by the current WeakReference object.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework TrackResurrection Gets an indication whether the object referenced by the current WeakReference object is tracked after it is finalized.
Top

Community Additions

ADD
Show:
© 2015 Microsoft