WeakCollection<T>.GetAliveItemsCount Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the number of strong references remaining in the collection. Note that this is O(n), where n is the number of WeakReferences currently in the list.
public:
int GetAliveItemsCount();
public:
int GetAliveItemsCount();
int GetAliveItemsCount();
public int GetAliveItemsCount ();
member this.GetAliveItemsCount : unit -> int
Public Function GetAliveItemsCount () As Integer
Returns
Returns the number of strong references.
Remarks
Note that this is 0(n), where n is the number of WeakReferences currently in the list.