共用方式為


_dispWindowEvents.WindowActivated(Window, Window) Method

Definition

Microsoft Internal Use Only.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void WindowActivated(EnvDTE::Window ^ GotFocus, EnvDTE::Window ^ LostFocus);
public:
 void WindowActivated(EnvDTE::Window ^ GotFocus, EnvDTE::Window ^ LostFocus);
void WindowActivated(EnvDTE::Window const & GotFocus, EnvDTE::Window const & LostFocus);
[System.Runtime.InteropServices.DispId(3)]
public void WindowActivated (EnvDTE.Window GotFocus, EnvDTE.Window LostFocus);
[<System.Runtime.InteropServices.DispId(3)>]
abstract member WindowActivated : EnvDTE.Window * EnvDTE.Window -> unit
Public Sub WindowActivated (GotFocus As Window, LostFocus As Window)

Parameters

GotFocus
Window

The window that got the focus.

LostFocus
Window

The window that lost the focus.

Attributes

Applies to