Bagikan melalui


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)

Syntax

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

Property Value

Type: String
The ID of this control.

.NET Framework Security

See Also

Reference

HtmlControl Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace