Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property int TagInstance {
	virtual int 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.

Return to top
Show: