Udostępnij za pośrednictwem


IVsLibraryMgr Interface

Definition

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.

public interface class IVsLibraryMgr
public interface class IVsLibraryMgr
__interface IVsLibraryMgr
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("DC1B976F-4DC7-4B3D-9EC7-A0DE9D39BC13")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsLibraryMgr
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("DC1B976F-4DC7-4B3D-9EC7-A0DE9D39BC13")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsLibraryMgr
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("DC1B976F-4DC7-4B3D-9EC7-A0DE9D39BC13")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsLibraryMgr = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("DC1B976F-4DC7-4B3D-9EC7-A0DE9D39BC13")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsLibraryMgr = interface
Public Interface IVsLibraryMgr
Attributes

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.

Methods

GetCheckAt(UInt32, LIB_CHECKSTATE[])

Returns the checked state of the requested library.

GetCount(UInt32)

Returns the number of libraries implemented by the library manager.

GetLibraryAt(UInt32, IVsLibrary)

Returns an IVsLibrary interface for the requested library.

GetNameAt(UInt32, IntPtr)

Returns the displayable name for the requested library.

SetLibraryGroupEnabled(LIB_PERSISTTYPE, Int32)

No method information is provided. Return E_NOTIMPL.

ToggleCheckAt(UInt32)

Tells the requested library to toggle its current checked state.

Applies to