AutomationEvent.LookupById(Int32) メソッド

定義

指定した数値識別子をカプセル化する AutomationEvent を取得します。

public:
 static System::Windows::Automation::AutomationEvent ^ LookupById(int id);
public static System.Windows.Automation.AutomationEvent LookupById (int id);
static member LookupById : int -> System.Windows.Automation.AutomationEvent
Public Shared Function LookupById (id As Integer) As AutomationEvent

パラメーター

id
Int32

イベントの識別子。

戻り値

指定した数値識別子をカプセル化する AutomationEvent

注釈

通常、イベントは オブジェクトによって AutomationEvent 識別されます。 このメソッドは、(からAutomationIdentifier継承された) 数値識別子のみがわかっているときに、UI オートメーション プロバイダーがこのようなオブジェクトをId作成するために使用できます。

適用対象