IVsObjectManager2 Interface


Used by a VSPackage to register and unregister the symbol libraries with the Visual Studio object manager and create component sets that can be browsed. To obtain a reference to the Visual Studio object manager, call global service provider which is passed to you by the SetSite method.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

public interface IVsObjectManager2


Creates an empty component set which cam be manually populated with the components from simple sets and removes duplicate components. The component set can be used by a library to present project references in the Object Browser.

System_CAPS_pubmethodCreateProjectReferenceSet(Object, IVsSimpleBrowseComponentSet)

Creates a simple component set which is automatically populated and synchronized with Visual Studio project references.

System_CAPS_pubmethodCreateSimpleBrowseComponentSet(UInt32, Guid[], UInt32, IVsSimpleBrowseComponentSet)

Creates an empty component set which can be manually populated with components that can be browsed.


Retrieves a list of all symbol libraries currently registered with the Visual Studio object manager.

System_CAPS_pubmethodFindLibrary(Guid, IVsLibrary2)

Finds a specific symbol library registered with the with the Visual Studio object manager.

System_CAPS_pubmethodGetListAndIndex(IVsNavInfo, UInt32, IVsObjectList2, UInt32)

Finds an IVsObjectList2 and an index of a symbol defined by IVsNavInfo.

System_CAPS_pubmethodParseDataObject(IDataObject, IVsSelectedSymbols)

Parses the data object created by Class View during drag-drop or copy operations.

System_CAPS_pubmethodRegisterLibrary(IVsLibrary2, UInt32)

Registers a symbol library with the Visual Studio object manager.

System_CAPS_pubmethodRegisterSimpleLibrary(IVsSimpleLibrary2, UInt32)

Registers a managed code symbol library with the Visual Studio object manager.


Unregisters a symbol library.

Notes to Implementers:

Implemented by the Visual Studio environment.

Return to top