Command.Parse 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.
Overloads
Parse(IReadOnlyList<String>, CommandLineConfiguration)
- Source:
- Command.cs
public System.CommandLine.ParseResult Parse(System.Collections.Generic.IReadOnlyList<string> args, System.CommandLine.CommandLineConfiguration? configuration = default);
member this.Parse : System.Collections.Generic.IReadOnlyList<string> * System.CommandLine.CommandLineConfiguration -> System.CommandLine.ParseResult
Public Function Parse (args As IReadOnlyList(Of String), Optional configuration As CommandLineConfiguration = Nothing) As ParseResult
Parameters
- args
- IReadOnlyList<String>
- configuration
- CommandLineConfiguration
Returns
Applies to
Parse(String, CommandLineConfiguration)
- Source:
- Command.cs
public System.CommandLine.ParseResult Parse(string commandLine, System.CommandLine.CommandLineConfiguration? configuration = default);
member this.Parse : string * System.CommandLine.CommandLineConfiguration -> System.CommandLine.ParseResult
Public Function Parse (commandLine As String, Optional configuration As CommandLineConfiguration = Nothing) As ParseResult
Parameters
- commandLine
- String
- configuration
- CommandLineConfiguration