CommandLineParser.SplitCommandLine(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.