共用方式為


IOleComponent Interface

Provides components needing idle time, such as packages that manage modeless top-level windows, with access to the message loop and other facilities. Register the interface with the component manager, IOleComponentManager.

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

Syntax

'宣告
<GuidAttribute("000C0600-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface IOleComponent
'用途
Dim instance As IOleComponent
[GuidAttribute("000C0600-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface IOleComponent
[GuidAttribute(L"000C0600-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface class IOleComponent
[<GuidAttribute("000C0600-0000-0000-C000-000000000046")>]
[<InterfaceTypeAttribute()>]
type IOleComponent =  interface end
public interface IOleComponent

See Also

Reference

IOleComponent Members

Microsoft.VisualStudio.OLE.Interop Namespace