This documentation is archived and is not being maintained.

IOleInPlaceComponentUIManager Interface

Enables the menus, toolbars, and commands of existing VSPackage objects to be integrated into and managed by the environment's SOleComponentUIManager service.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("5EFC7973-14BC-11CF-9B2B-00AA00573819")] 
public interface IOleInPlaceComponentUIManager
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("5EFC7973-14BC-11CF-9B2B-00AA00573819") */ 
public interface IOleInPlaceComponentUIManager
InterfaceTypeAttribute(1) 
GuidAttribute("5EFC7973-14BC-11CF-9B2B-00AA00573819") 
public interface IOleInPlaceComponentUIManager

IOleInPlaceComponentUIManager is one of two interfaces provided by this service; the other is IOleComponentUIManager. Enables the menus, toolbars, and commands of existing VSPackage objects to be integrated into and managed by the environment's SOleComponentUIManager service. IOleInPlaceComponentUIManager is one of two interfaces provided by this service; the other is IOleComponentUIManager.

In-place VSPackage objects typically access IOleInPlaceComponentUIManager by calling QueryService and requesting SIID_SOleComponentUIManager on their in-place site. Subcomponents typically delegate this call to the IServiceProvider implementation on their site.

See illustrations of the implementation and/or calling of this interface in the samples Basic Edit Overviewand Solution Extender Sample.

Notes to Implementers The environment implements IOleInPlaceComponentUIManager as part of its SOleComponentUIManager service.

Notes to Callers In-place VSPackage objects call the methods of IOleInPlaceComponentUIManager to request the use of the SOleComponentUIManager service and to communicate state information.

Show: