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 with get 
override TagName : string with get
function get TagName () : String

Property Value

Type: String
The tag name of this control.

.NET Framework Security

See Also

Reference

HtmlControl Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace