IVsLibraryMgr.GetCount(UInt32) 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.
Returns the number of libraries implemented by the library manager.
public:
int GetCount([Runtime::InteropServices::Out] System::UInt32 % pnCount);
int GetCount([Runtime::InteropServices::Out] unsigned int & pnCount);
public int GetCount (out uint pnCount);
abstract member GetCount : uint32 -> int
Public Function GetCount (ByRef pnCount As UInteger) As Integer
Parameters
- pnCount
- UInt32
[out] Pointer to the count of libraries managed by your library manager.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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.