ParseResult.FindResultFor 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
| Name | Description |
|---|---|
| FindResultFor(IArgument) | |
| FindResultFor(ICommand) | |
| FindResultFor(IOption) |
FindResultFor(IArgument)
public:
System::CommandLine::ArgumentResult ^ FindResultFor(System::CommandLine::IArgument ^ argument);
public System.CommandLine.ArgumentResult FindResultFor(System.CommandLine.IArgument argument);
member this.FindResultFor : System.CommandLine.IArgument -> System.CommandLine.ArgumentResult
Public Function FindResultFor (argument As IArgument) As ArgumentResult
Parameters
- argument
- IArgument
Returns
Applies to
FindResultFor(ICommand)
public:
System::CommandLine::CommandResult ^ FindResultFor(System::CommandLine::ICommand ^ command);
public System.CommandLine.CommandResult FindResultFor(System.CommandLine.ICommand command);
member this.FindResultFor : System.CommandLine.ICommand -> System.CommandLine.CommandResult
Public Function FindResultFor (command As ICommand) As CommandResult
Parameters
- command
- ICommand
Returns
Applies to
FindResultFor(IOption)
public:
System::CommandLine::OptionResult ^ FindResultFor(System::CommandLine::IOption ^ option);
public System.CommandLine.OptionResult FindResultFor(System.CommandLine.IOption option);
member this.FindResultFor : System.CommandLine.IOption -> System.CommandLine.OptionResult
Public Function FindResultFor (option As IOption) As OptionResult
Parameters
- option
- IOption