Edit

Share via


CommandLineParser.SplitCommandLine(String) Method

Definition

Splits a string into a sequence of strings based on whitespace and quotation marks.

public:
 static System::Collections::Generic::IEnumerable<System::String ^> ^ SplitCommandLine(System::String ^ commandLine);
public static System.Collections.Generic.IEnumerable<string> SplitCommandLine(string commandLine);
static member SplitCommandLine : string -> seq<string>
Public Shared Iterator Function SplitCommandLine (commandLine As String) As IEnumerable(Of String)

Parameters

commandLine
String

A command line input string.

Returns

A sequence of strings.

Applies to