ParseResult.FindResultFor 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- argument
- IArgument
傳回
適用於
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
參數
- command
- ICommand
傳回
適用於
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
參數
- option
- IOption