Share via


WinControl.AccessKey Property

Gets the access key that is assigned to this control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
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 that is assigned to this control.

.NET Framework Security

See Also

Reference

WinControl Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace