共用方式為


OleComponent.DoIdle Event

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
Public Event DoIdle As EventHandler(Of DoIdleEventArgs)
'用途
Dim instance As OleComponent
Dim handler As EventHandler(Of DoIdleEventArgs)

AddHandler instance.DoIdle, handler
public event EventHandler<DoIdleEventArgs> DoIdle
public:
 event EventHandler<DoIdleEventArgs^>^ DoIdle {
    void add (EventHandler<DoIdleEventArgs^>^ value);
    void remove (EventHandler<DoIdleEventArgs^>^ value);
}
member DoIdle : IEvent<EventHandler<DoIdleEventArgs>,
    DoIdleEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

OleComponent Class

OleComponent Members

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace