共用方式為


WindowEventsClass.add_WindowActivated 方法

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

僅限 Microsoft 內部使用。

命名空間:  EnvDTE
組件:  EnvDTE (在 EnvDTE.dll 中)

語法

'宣告
Public Overridable Sub add_WindowActivated ( _
    A_1 As _dispWindowEvents_WindowActivatedEventHandler _
)
public virtual void add_WindowActivated(
    _dispWindowEvents_WindowActivatedEventHandler A_1
)
public:
virtual void add_WindowActivated(
    _dispWindowEvents_WindowActivatedEventHandler^ A_1
)
abstract add_WindowActivated : 
        A_1:_dispWindowEvents_WindowActivatedEventHandler -> unit 
override add_WindowActivated : 
        A_1:_dispWindowEvents_WindowActivatedEventHandler -> unit 
public function add_WindowActivated(
    A_1 : _dispWindowEvents_WindowActivatedEventHandler
)

參數

實作

_dispWindowEvents_Event.add_WindowActivated(_dispWindowEvents_WindowActivatedEventHandler)

.NET Framework 安全性

請參閱

參考

WindowEventsClass 類別

EnvDTE 命名空間