다음을 통해 공유


XamlControl.AutomationId Property

Gets the control's automation Id.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property AutomationId As String
public virtual string AutomationId { get; }
public:
virtual property String^ AutomationId {
    String^ get ();
}
abstract AutomationId : string with get 
override AutomationId : string with get
function get AutomationId () : String

Property Value

Type: String

.NET Framework Security

See Also

Reference

XamlControl Class

Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls Namespace