Compartilhar via


DirectUIControl.AutomationId Property

Gets the control's automation Id.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.DirectUIControls
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

DirectUIControl Class

Microsoft.VisualStudio.TestTools.UITesting.DirectUIControls Namespace