語言

AutomationFocusChangedEventArgs(Int32, Int32) 建構函式

定義

初始化 AutomationFocusChangedEventArgs 類別的新執行個體。

public:
 AutomationFocusChangedEventArgs(int idObject, int idChild);
public AutomationFocusChangedEventArgs(int idObject, int idChild);
new System.Windows.Automation.AutomationFocusChangedEventArgs : int * int -> System.Windows.Automation.AutomationFocusChangedEventArgs
Public Sub New (idObject As Integer, idChild As Integer)

參數

idObject
Int32

接收焦點的物件識別碼(ID)。

idChild
Int32

被聚焦的物件的子ID。

備註

idObject 和 idChild 參數包含Microsoft Active Accessibility物件識別碼,使用者介面自動化 用戶端可用來將 AutomationElement 連結到舊有可存取技術應用中的 IAccessible 物件。

適用於