Bagikan melalui


IVsObjectManager Interface

This interface is used by a package to register and un-register its library manager with the object manager. Obtain an IVsObjectManager interface by calling QueryService for the SVsObjectManager service. This interface is used by a package to register and un-register its library manager with the object manager. Obtain an IVsObjectManager interface by calling QueryService for the SVsObjectManager service.

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

Syntax

'Declaration
<GuidAttribute("01E95D2E-2D20-4662-9DE7-4C1C35524260")> _
<InterfaceTypeAttribute()> _
Public Interface IVsObjectManager
[GuidAttribute("01E95D2E-2D20-4662-9DE7-4C1C35524260")]
[InterfaceTypeAttribute()]
public interface IVsObjectManager
[GuidAttribute(L"01E95D2E-2D20-4662-9DE7-4C1C35524260")]
[InterfaceTypeAttribute()]
public interface class IVsObjectManager
[<GuidAttribute("01E95D2E-2D20-4662-9DE7-4C1C35524260")>]
[<InterfaceTypeAttribute()>]
type IVsObjectManager =  interface end
public interface IVsObjectManager

The IVsObjectManager type exposes the following members.

Methods

  Name Description
Public method EnumLibMgrs Method information is not provided. Do not use this method.
Public method GetList Method information is not provided. Do not use this method.
Public method RefreshLists Method information is not provided. Do not use this method.
Public method RegisterLibMgr Registers a library with the environment's object manager.
Public method UnregisterLibMgr Unregisters a library manager with the environment's object manager.

Top

Remarks

Package implementers should call only RegisterLibMgr and UnregisterLibMgr. The remaining methods are for the environment's use only.

Notes to Implementers

Implemented by the Visual Studio environment.

Notes to Callers

Call RegisterLibMgr during package load and UnregisterLibMgr during package close.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace