次の方法で共有


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

'宣言
<GuidAttribute("01E95D2E-2D20-4662-9DE7-4C1C35524260")> _
<InterfaceTypeAttribute()> _
Public Interface IVsObjectManager
'使用
Dim instance As 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

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

IVsObjectManager Members

Microsoft.VisualStudio.Shell.Interop Namespace