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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.DirectUIControls Namespace