WeakCollection<T> Class

 

Microsoft internal use only.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

System.Object
  Microsoft.VisualStudio.PlatformUI.WeakCollection<T>

public class WeakCollection<T> : IEnumerable<T>, IEnumerable
where T : class

Type Parameters

T

NameDescription
System_CAPS_pubmethodWeakCollection<T>()

Microsoft internal use only.

NameDescription
System_CAPS_pubmethodAdd(T)

Microsoft internal use only. Adds a WeakReference to the item to the collection.

System_CAPS_pubmethodClear()

Microsoft internal use only. Clears all items from the list.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetAliveItemsCount()

Gets the number of strong references remaining in the collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(T)

Microsoft internal use only. Removes an item from the underlying collection, if it exists.

System_CAPS_pubmethodToList()

Gets a list containing strong references to the items in this collection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable<T>.GetEnumerator()

Microsoft internal use only.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Microsoft internal use only.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: