Compartir a través de


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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("6A0392E4-68E8-4FBC-AFCF-85155533E48E")> _
Public Interface IVsObjectManager2
[InterfaceTypeAttribute()]
[GuidAttribute("6A0392E4-68E8-4FBC-AFCF-85155533E48E")]
public interface IVsObjectManager2
[InterfaceTypeAttribute()]
[GuidAttribute(L"6A0392E4-68E8-4FBC-AFCF-85155533E48E")]
public interface class IVsObjectManager2
[<InterfaceTypeAttribute()>]
[<GuidAttribute("6A0392E4-68E8-4FBC-AFCF-85155533E48E")>]
type IVsObjectManager2 =  interface end
public interface IVsObjectManager2

The IVsObjectManager2 type exposes the following members.

Methods

  Name Description
Public method CreateCombinedBrowseComponentSet 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.
Public method CreateProjectReferenceSet Creates a simple component set which is automatically populated and synchronized with Visual Studio project references.
Public method CreateSimpleBrowseComponentSet Creates an empty component set which can be manually populated with components that can be browsed.
Public method EnumLibraries Retrieves a list of all symbol libraries currently registered with the Visual Studio object manager.
Public method FindLibrary Finds a specific symbol library registered with the with the Visual Studio object manager.
Public method GetListAndIndex Finds an IVsObjectList2 and an index of a symbol defined by IVsNavInfo.
Public method ParseDataObject Parses the data object created by Class View during drag-drop or copy operations.
Public method RegisterLibrary Registers a symbol library with the Visual Studio object manager.
Public method RegisterSimpleLibrary Registers a managed code symbol library with the Visual Studio object manager.
Public method UnregisterLibrary Unregisters a symbol library.

Top

Remarks

Notes to Implementers

Implemented by the Visual Studio environment.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace