次の方法で共有


IVsObjectManager Interface

Definition

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.

public interface class IVsObjectManager
public interface class IVsObjectManager
__interface IVsObjectManager
[System.Runtime.InteropServices.Guid("01E95D2E-2D20-4662-9DE7-4C1C35524260")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsObjectManager
[System.Runtime.InteropServices.Guid("01E95D2E-2D20-4662-9DE7-4C1C35524260")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsObjectManager
[<System.Runtime.InteropServices.Guid("01E95D2E-2D20-4662-9DE7-4C1C35524260")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsObjectManager = interface
[<System.Runtime.InteropServices.Guid("01E95D2E-2D20-4662-9DE7-4C1C35524260")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsObjectManager = interface
Public Interface IVsObjectManager
Attributes

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(Guid, IVsLibraryMgr, UInt32) during package load and UnregisterLibMgr(UInt32) during package close.

Methods

EnumLibMgrs(UInt32, IVsLibraryMgr[])

Method information is not provided. Do not use this method.

GetList(UInt32, UInt32, IVsLibraryMgr, VSOBSEARCHCRITERIA[], IVsObjectList)

Method information is not provided. Do not use this method.

RefreshLists()

Method information is not provided. Do not use this method.

RegisterLibMgr(Guid, IVsLibraryMgr, UInt32)

Registers a library with the environment's object manager.

UnregisterLibMgr(UInt32)

Unregisters a library manager with the environment's object manager.

Applies to