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)
Syntax
'Declaration
Public Overridable ReadOnly Property TagInstance As Integer
public virtual int TagInstance { get; }
public:
virtual property int TagInstance {
int get ();
}
abstract TagInstance : int
override TagInstance : int
function get TagInstance () : int
Property Value
Type: System.Int32
The index of the control in the collection of controls on the page that has the same tag name.
.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.HtmlControls Namespace