共用方式為


IVsLibrary2 Members

Include Protected Members
Include Inherited Members

Describes the library and is used by the Object Manager to access pertinent symbols.

The IVsLibrary2 type exposes the following members.

Methods

  Name Description
Public method AddBrowseContainer Adds a browse container to be browsed by the library.
Public method CreateNavInfo Reserved for future use.
Public method GetBrowseContainersForHierarchy Returns an array of Browse Containers that correspond to the given IVsHierarchy.
Public method GetGuid Returns a pointer to the GUID of the library.
Public method GetLibFlags2 Returns flags associated with the library.
Public method GetLibList Returns the list of browse containers currently being browsed by the library as an IVsLiteTreeList interface.
Public method GetList2 Returns the requested list of symbols as an IVsObjectList interface.
Public method GetSeparatorString Returns the string used to separate symbols for this type of Browse Container.
Public method GetSupportedCategoryFields2 Returns the category values supported by the library for a specified category.
Public method LoadState Asks the library to load its persisted global Browse Containers.
Public method RemoveBrowseContainer Removes a Browse Container being browsed by the library.
Public method SaveState Asks the library to save its persisted global Browse Containers.
Public method UpdateCounter Returns the current change counter for the library and is used to indicate that the library contents have changed.

Top

See Also

Reference

IVsLibrary2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace