共用方式為


Events2.WindowEvents[Window] Property

Definition

Gets the WindowEvents object that provides events for windows in the development environment.

public:
 property EnvDTE::WindowEvents ^ WindowEvents[EnvDTE::Window ^] { EnvDTE::WindowEvents ^ get(EnvDTE::Window ^ WindowFilter); };
[System.Runtime.InteropServices.DispId(304)]
public EnvDTE.WindowEvents WindowEvents[EnvDTE.Window WindowFilter = default] { [System.Runtime.InteropServices.DispId(304)] get; }
[<System.Runtime.InteropServices.DispId(304)>]
[<get: System.Runtime.InteropServices.DispId(304)>]
member this.WindowEvents(EnvDTE.Window) : EnvDTE.WindowEvents
Public ReadOnly Property WindowEvents(Optional WindowFilter As Window = Nothing) As WindowEvents

Parameters

WindowFilter
Window

Optional. If supplied, window events occur only for the specified Window.

Property Value

A WindowEvents object.

Implements

Attributes

Applies to