Partager via


WinMenuItem.Shortcut Property

Gets the uniform resource identifier (URI) for this menu item.

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 with get 
override Shortcut : string with get
function get Shortcut () : String

Property Value

Type: String
The URI for this menu item.

.NET Framework Security

See Also

Reference

WinMenuItem Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace