AutomationPeer.GetAutomationIdCore 方法

定義

在衍生類別中覆寫時,被 GetAutomationId() 呼叫。

protected:
 abstract System::String ^ GetAutomationIdCore();
protected abstract string GetAutomationIdCore ();
abstract member GetAutomationIdCore : unit -> string
Protected MustOverride Function GetAutomationIdCore () As String

傳回

包含識別項的字串。

備註

自動化識別碼的值是 AutomationId 屬性。 如果未設定該屬性,則值為 Name 屬性。

適用於