WeakReferenceCollection<(Of <(<'T>)>)> Members

The WeakReferenceCollection<(Of <(<'T>)>)> type exposes the following members.

Methods


  Name Description
Public method Add
Adds a weak reference to the indicated item
Public method AddRange
Adds a list of values to this collection
Public method CleanUp
Removes the dead references from the collection
Public method Clear
Removes all items from the collection
Public method Contains
Returns true if the item is found in the collection
Public method CopyTo
Copies a snapshot of the collection to an array.
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator
Returns an enumerator containing references that were live at the time this is called.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove
Removes the indicated item from the array
Public method ToString (Inherited from Object.)

Properties


  Name Description
Public property Count
Returns the count of live objects.