Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the number of strong references remaining in the collection.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Function GetAliveItemsCount As Integer
public int GetAliveItemsCount()
public:
int GetAliveItemsCount()
member GetAliveItemsCount : unit -> int
public function GetAliveItemsCount() : int
Return Value
Type: Int32
Returns the number of strong references.
Remarks
Note that this is 0(n), where n is the number of WeakReferences currently in the list.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.