Share via


WinProperties.MenuItem.Shortcut Field

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Allows read access to the Shortcut property of the control.

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

Syntax

'Declaration
Public Shared ReadOnly Shortcut As String
'Usage
Dim value As String

value = WinProperties..::..MenuItem.Shortcut
public static readonly string Shortcut
public:
static initonly String^ Shortcut
static val Shortcut: string
public static final var Shortcut : String

Remarks

Use with GetProperty to get this property of a UITestControl.

.NET Framework Security

See Also

Reference

WinProperties.MenuItem Class

WinProperties.MenuItem Members

Microsoft.VisualStudio.TestTools.UITesting Namespace