ParseResult.GetResult 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
GetResult(String) | |
GetResult(Symbol) | |
GetResult(Option) | |
GetResult(Directive) | |
GetResult(Command) | |
GetResult(Argument) |
GetResult(String)
- Source:
- ParseResult.cs
public:
System::CommandLine::Parsing::SymbolResult ^ GetResult(System::String ^ name);
public System.CommandLine.Parsing.SymbolResult? GetResult(string name);
member this.GetResult : string -> System.CommandLine.Parsing.SymbolResult
Public Function GetResult (name As String) As SymbolResult
Parameters
- name
- String
Returns
Applies to
GetResult(Symbol)
- Source:
- ParseResult.cs
public:
System::CommandLine::Parsing::SymbolResult ^ GetResult(System::CommandLine::Symbol ^ symbol);
public System.CommandLine.Parsing.SymbolResult? GetResult(System.CommandLine.Symbol symbol);
member this.GetResult : System.CommandLine.Symbol -> System.CommandLine.Parsing.SymbolResult
Public Function GetResult (symbol As Symbol) As SymbolResult
Parameters
- symbol
- Symbol
Returns
Applies to
GetResult(Option)
- Source:
- ParseResult.cs
public:
System::CommandLine::Parsing::OptionResult ^ GetResult(System::CommandLine::Option ^ option);
public System.CommandLine.Parsing.OptionResult? GetResult(System.CommandLine.Option option);
member this.GetResult : System.CommandLine.Option -> System.CommandLine.Parsing.OptionResult
Public Function GetResult (option As Option) As OptionResult
Parameters
- option
- Option
Returns
Applies to
GetResult(Directive)
- Source:
- ParseResult.cs
public:
System::CommandLine::Parsing::DirectiveResult ^ GetResult(System::CommandLine::Directive ^ directive);
public System.CommandLine.Parsing.DirectiveResult? GetResult(System.CommandLine.Directive directive);
member this.GetResult : System.CommandLine.Directive -> System.CommandLine.Parsing.DirectiveResult
Public Function GetResult (directive As Directive) As DirectiveResult
Parameters
- directive
- Directive
Returns
Applies to
GetResult(Command)
- Source:
- ParseResult.cs
public:
System::CommandLine::Parsing::CommandResult ^ GetResult(System::CommandLine::Command ^ command);
public System.CommandLine.Parsing.CommandResult? GetResult(System.CommandLine.Command command);
member this.GetResult : System.CommandLine.Command -> System.CommandLine.Parsing.CommandResult
Public Function GetResult (command As Command) As CommandResult
Parameters
- command
- Command
Returns
Applies to
GetResult(Argument)
- Source:
- ParseResult.cs
public:
System::CommandLine::Parsing::ArgumentResult ^ GetResult(System::CommandLine::Argument ^ argument);
public System.CommandLine.Parsing.ArgumentResult? GetResult(System.CommandLine.Argument argument);
member this.GetResult : System.CommandLine.Argument -> System.CommandLine.Parsing.ArgumentResult
Public Function GetResult (argument As Argument) As ArgumentResult
Parameters
- argument
- Argument