UIElementAutomationPeer.GetAutomationIdCore 方法

定义

获取唯一标识与此 UIElementAutomationPeer 关联的 UIElement 的字符串。 此方法由 GetAutomationId() 调用。

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

返回

GetAutomationId(DependencyObject) 返回的 AutomationId

适用于