共用方式為


_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 不支援委派。

參數

請參閱

參考

EnvDTE 命名空間