Share via


HtmlControl.TagName Property

Gets the tag name 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 TagName As String
public virtual string TagName { get; }
public:
virtual property String^ TagName {
    String^ get ();
}
abstract TagName : string
override TagName : string
function get TagName () : String

Property Value

Type: System.String
The tag name of this control.

.NET Framework Security

See Also

Reference

HtmlControl Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace