IVsLibrary2 Interface
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in microsoft.visualstudio.shell.interop.8.0.dll)
The smallest unit a library can browse 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 IVsLibrary2 interface is implemented when you want to provide object browsing. Note |
|---|
| Managed code implementations should implement the IVsSimpleLibrary2 interface instead to avoid memory leaks. |
Note