IVsLibraryMgr::GetCount Method (UInt32)

 

Returns the number of libraries implemented by the library manager.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetCount(
	[OutAttribute] unsigned int% pnCount
)

Parameters

pnCount
Type: System::UInt32

[out] Pointer to the count of libraries managed by your library manager.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsLibraryMgr::GetCount(
   [out, retval] ULONG *pnCount
);

Most implementations will typically provide a single IVsLibrary so the count returned will be one.

Return to top
Show: