Share via


WinButton.Shortcut Property

Gets the shortcut for this button.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property Shortcut As String
public virtual string Shortcut { get; }
public:
virtual property String^ Shortcut {
    String^ get ();
}
abstract Shortcut : string
override Shortcut : string
function get Shortcut () : String

Property Value

Type: System.String
A string that contains the shortcut for this button.

.NET Framework Security

See Also

Reference

WinButton Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace