Export (0) Print
Expand All

IVsLibrary Interface

This core interface describes the library and is used by the Object Manager to access symbols pertinent to it.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("E86128E4-3B1B-4BE9-BEB6-D30E5BF40850")] 
public interface IVsLibrary
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("E86128E4-3B1B-4BE9-BEB6-D30E5BF40850") */ 
public interface IVsLibrary
InterfaceTypeAttribute(1) 
GuidAttribute("E86128E4-3B1B-4BE9-BEB6-D30E5BF40850") 
public interface IVsLibrary

The smallest unit that can be browsed by a library is referred to as a Browse Container. A library typically browses one type of Browse Container. Each project type implements one, and possibly more, libraries to track its symbols, objects, and so on. The package's IVsLibraryMgr tracks these libraries. Libraries may be project specific, or global. Global libraries provide information on browse containers that are not a part of any project, but are added by a user through the Add Reference dialog. For more details on libraries and their relationship to the object browser see Object Browser and Class View.

See illustrations of the implementation and/or calling of this interface in the sample My C Package Sample.

Notes to Implementers The IVsLibrary interface has been deprecated. Implement instead IVsLibrary2

Notes to Callers Called by the environment's object manager to obtain information about the library and its contents.

Community Additions

ADD
Show:
© 2015 Microsoft