Share via


HtmlControl.Class Property

Gets the value of the Class attribute 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 Class As String
public virtual string Class { get; }
public:
virtual property String^ Class {
    String^ get ();
}
abstract Class : string
override Class : string
function get Class () : String

Property Value

Type: System.String
The value of the Class attribute of this control.

.NET Framework Security

See Also

Reference

HtmlControl Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace