HtmlControl.TagInstance Property

Gets the index of the control in the collection of controls on the page that has the same tag name.

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

public virtual int TagInstance { get; }

Property Value

Type: System.Int32
The index of the control in the collection of controls on the page that has the same tag name.

Community Additions

ADD
Show: