Version

ParseShortcutString(String,Char) Method

Parses a localized string and returns the corresponding Shortcut enumeration.
Syntax
'Declaration
 
Public Overloads Shared Function ParseShortcutString( _
   ByVal shortcutString As String, _
   ByVal separator As Char _
) As Shortcut
public static Shortcut ParseShortcutString( 
   string shortcutString,
   char separator
)

Parameters

shortcutString
A string containing the localized description of the shortcut based on the currently mapped keyboard layout.
separator
Character used to separate multiple keys in the shortcut

Return Value

The corrsponding Shortcut enumeration value
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also