We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

HtmlControl.Id Property

Gets the value of the ID attribute of this control.

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

public virtual string Id { get; }

Property Value

Type: System.String
The ID of this control.

Show: