FrameworkElementAutomationPeer.GetAutomationIdCore メソッド

定義

この FrameworkElementAutomationPeer と関連付けられた FrameworkElement を一意に識別する文字列を取得します。 GetAutomationId() によって呼び出されます。

protected:
 override System::String ^ GetAutomationIdCore();
protected override string GetAutomationIdCore ();
override this.GetAutomationIdCore : unit -> string
Protected Overrides Function GetAutomationIdCore () As String

戻り値

FrameworkElementAutomationPeer に関連付けられている要素のオートメーション識別子。オートメーション識別子が存在しない場合は Empty

注釈

オートメーション識別子の値は AutomationId プロパティであり、設定されていない場合は Name プロパティです。

適用対象

こちらもご覧ください