Condividi tramite


IOleComponentUIManager Interface

The IOleComponentUIManager interface gives in-place VSPackage objects access to a variety of user interface functionality supplied by the environment such as message display, context menus, and the status bar.

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

Syntax

<InterfaceTypeAttribute()> _
<GuidAttribute("5EFC7972-14BC-11CF-9B2B-00AA00573819")> _
Public Interface IOleComponentUIManager

Dim instance As IOleComponentUIManager
[InterfaceTypeAttribute()]
[GuidAttribute("5EFC7972-14BC-11CF-9B2B-00AA00573819")]
public interface IOleComponentUIManager
[InterfaceTypeAttribute()]
[GuidAttribute(L"5EFC7972-14BC-11CF-9B2B-00AA00573819")]
public interface class IOleComponentUIManager
public interface IOleComponentUIManager

Remarks

IOleComponentUIManager is one of two interfaces implemented by the SOleComponentUIManager service; the other is IOleInPlaceComponentUIManager. The IOleComponentUIManager interface gives in-place VSPackage objects access to a variety of user interface functionality supplied by the environment such as message display, context menus, and the status bar. IOleComponentUIManager is one of two interfaces implemented by the SOleComponentUIManager service; the other is IOleInPlaceComponentUIManager.

See illustrations of the implementation and/or calling of this interface in the samples Basic Edit Sample, Figures Project, Options Package, and Figures Project.

Notes to Callers:

VSPackage objects implemented either as OLE in-place objects, ActiveX controls, or document data objects call the methods of IOleComponentUIManager to communicate changes that affect the user interface.

See Also

Reference

IOleComponentUIManager Members

Microsoft.VisualStudio.Shell.Interop Namespace