IVsLibraryMgr Interface

 

This root interface allows the environment's Object Manager to access a package's IVsLibrary. Most implementations will typically provide a single IVsLibrary. This root interface allows the environment's Object Manager to access a package's IVsLibrary. Most implementations will typically provide a single IVsLibrary.

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

[InterfaceTypeAttribute(1)]
[ComConversionLossAttribute]
[GuidAttribute("DC1B976F-4DC7-4B3D-9EC7-A0DE9D39BC13")]
public interface IVsLibraryMgr

NameDescription
System_CAPS_pubmethodGetCheckAt(UInt32, LIB_CHECKSTATE[])

Returns the checked state of the requested library.

System_CAPS_pubmethodGetCount(UInt32)

Returns the number of libraries implemented by the library manager.

System_CAPS_pubmethodGetLibraryAt(UInt32, IVsLibrary)

Returns an IVsLibrary interface for the requested library.

System_CAPS_pubmethodGetNameAt(UInt32, IntPtr)

Returns the displayable name for the requested library.

System_CAPS_pubmethodSetLibraryGroupEnabled(LIB_PERSISTTYPE, Int32)

No method information is provided. Return E_NOTIMPL.

System_CAPS_pubmethodToggleCheckAt(UInt32)

Tells the requested library to toggle its current checked state.

A package must implement this interface to participate in the code browsing tools. You pass this interface pointer to the Object Manager when you register with it through RegisterLibMgr. See illustrations of the implementation and/or calling of this interface in the sample .cccbaa9b-1d34-4e17-82b2-b4670d6f2577

Notes to Implementers:

Implemented by packages to participate in the code browsing tools (Object Browser, Class View, and Find Symbol).

Notes to Callers:

Called by the environment's object manager to obtain information about a package's IVsLibrary implementations.

Return to top
Show: