Freigeben über


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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("DC1B976F-4DC7-4B3D-9EC7-A0DE9D39BC13")> _
Public Interface IVsLibraryMgr
[InterfaceTypeAttribute()]
[GuidAttribute("DC1B976F-4DC7-4B3D-9EC7-A0DE9D39BC13")]
public interface IVsLibraryMgr
[InterfaceTypeAttribute()]
[GuidAttribute(L"DC1B976F-4DC7-4B3D-9EC7-A0DE9D39BC13")]
public interface class IVsLibraryMgr
[<InterfaceTypeAttribute()>]
[<GuidAttribute("DC1B976F-4DC7-4B3D-9EC7-A0DE9D39BC13")>]
type IVsLibraryMgr =  interface end
public interface IVsLibraryMgr

The IVsLibraryMgr type exposes the following members.

Methods

  Name Description
Public method GetCheckAt Returns the checked state of the requested library.
Public method GetCount Returns the number of libraries implemented by the library manager.
Public method GetLibraryAt Returns an IVsLibrary interface for the requested library.
Public method GetNameAt Returns the displayable name for the requested library.
Public method SetLibraryGroupEnabled No method information is provided. Return E_NOTIMPL.
Public method ToggleCheckAt Tells the requested library to toggle its current checked state.

Top

Remarks

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 My C Package.

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace