WeakCollection<T>::GetAliveItemsCount Method ()

 

Gets the number of strong references remaining in the collection.

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

public:
int GetAliveItemsCount()

Return Value

Type: System::Int32

Returns the number of strong references.

Note that this is 0(n), where n is the number of WeakReferences currently in the list.

Return to top
Show: