Share via


HtmlControl.Class Property

Gets the value of the Class attribute of this control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  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 with get 
override Class : string with get
function get Class () : String

Property Value

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

.NET Framework Security

See Also

Reference

HtmlControl Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace