다음을 통해 공유


ConsoleKeyChordConverter.Convert(String) Method

Definition

Converts a string to a sequence of ConsoleKeyInfo. Sequences are separated by ','. Modifiers appear before the modified key and are separated by '+'. Examples: Ctrl+X Ctrl+D,M Escape,X

public:
 static cli::array <ConsoleKeyInfo> ^ Convert(System::String ^ chord);
public static ConsoleKeyInfo[] Convert (string chord);
static member Convert : string -> ConsoleKeyInfo[]
Public Shared Function Convert (chord As String) As ConsoleKeyInfo()

Parameters

chord
String

Returns

Applies to