Share via


HtmlControl.AccessKey Property

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

Property Value

Type: System.String
The access key of the control.

.NET Framework Security

See Also

Reference

HtmlControl Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace