ButtonBaseAutomationPeer.GetAutomationIdCore 方法

定義

取得與這個 ButtonBaseAutomationPeer 相關聯項目的 AutomationId。 由 GetAutomationId() 呼叫。

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

傳回

String

包含 AutomationId 的字串。

備註

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

適用於