Partager via


HtmlControl.AccessKey Property

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

Property Value

Type: String
The access key of the control.

.NET Framework Security

See Also

Reference

HtmlControl Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace