_dispWindowEvents_WindowActivatedEventHandler 委托
此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。
仅由 Microsoft 内部使用。
命名空间: EnvDTE
程序集: EnvDTE(在 EnvDTE.dll 中)
语法
声明
<ComVisibleAttribute(False)> _
Public Delegate Sub _dispWindowEvents_WindowActivatedEventHandler ( _
GotFocus As Window, _
LostFocus As Window _
)
[ComVisibleAttribute(false)]
public delegate void _dispWindowEvents_WindowActivatedEventHandler(
Window GotFocus,
Window LostFocus
)
[ComVisibleAttribute(false)]
public delegate void _dispWindowEvents_WindowActivatedEventHandler(
[InAttribute] Window^ GotFocus,
[InAttribute] Window^ LostFocus
)
[<ComVisibleAttribute(false)>]
type _dispWindowEvents_WindowActivatedEventHandler =
delegate of
GotFocus:Window *
LostFocus:Window -> unit
JScript 不支持委托。
参数
- GotFocus
类型:EnvDTE.Window
获得焦点的窗口。
- LostFocus
类型:EnvDTE.Window
失去焦点的窗口。