共用方式為


IOleComponentManager Interface

Defines a component manager, a component that coordinates other components with its message loop for message processing and allocation of idle time. You can get an instance of the interface from the SOleComponentManager (SID_SOleComponentManager) service.

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

Syntax

'宣告
<GuidAttribute("000C0601-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface IOleComponentManager
[GuidAttribute("000C0601-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface IOleComponentManager

The IOleComponentManager type exposes the following members.

Methods

  Name Description
Public method FContinueIdle
Public method FCreateSubComponentManager
Public method FGetActiveComponent
Public method FGetParentComponentManager
Public method FInState
Public method FOnComponentActivate
Public method FOnComponentExitState
Public method FPushMessageLoop
Public method FRegisterComponent
Public method FReserved1
Public method FRevokeComponent
Public method FSetTrackingComponent
Public method FUpdateComponentRegistration
Public method OnComponentEnterState
Public method QueryService

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace