共用方式為


OleComponent.GetWindow Event

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

Syntax

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

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

.NET Framework Security

See Also

Reference

OleComponent Class

OleComponent Members

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace