AutomationPeer.GetAutomationId Method

Definition

Gets the AutomationId of the element that is associated with the automation peer.

public:
 virtual Platform::String ^ GetAutomationId() = GetAutomationId;
winrt::hstring GetAutomationId();
public string GetAutomationId();
function getAutomationId()
Public Function GetAutomationId () As String

Returns

String

Platform::String

winrt::hstring

The automation identifier.

Applies to