ParseResult.FindResultFor Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
FindResultFor(Argument) |
Ottiene il risultato, se presente, per l'argomento specificato. |
FindResultFor(Command) |
Ottiene il risultato, se presente, per il comando specificato. |
FindResultFor(Option) |
Ottiene il risultato, se presente, per l'opzione specificata. |
FindResultFor(Symbol) |
Ottiene il risultato, se presente, per il simbolo specificato. |
FindResultFor(Argument)
Ottiene il risultato, se presente, per l'argomento specificato.
public:
System::CommandLine::Parsing::ArgumentResult ^ FindResultFor(System::CommandLine::Argument ^ argument);
public System.CommandLine.Parsing.ArgumentResult? FindResultFor (System.CommandLine.Argument argument);
member this.FindResultFor : System.CommandLine.Argument -> System.CommandLine.Parsing.ArgumentResult
Public Function FindResultFor (argument As Argument) As ArgumentResult
Parametri
- argument
- Argument
Argomento per il quale trovare un risultato.
Restituisce
Risultato per l'argomento specificato o null
se non è stato specificato e non è stato configurato alcun valore predefinito.
Si applica a
FindResultFor(Command)
Ottiene il risultato, se presente, per il comando specificato.
public:
System::CommandLine::Parsing::CommandResult ^ FindResultFor(System::CommandLine::Command ^ command);
public System.CommandLine.Parsing.CommandResult? FindResultFor (System.CommandLine.Command command);
member this.FindResultFor : System.CommandLine.Command -> System.CommandLine.Parsing.CommandResult
Public Function FindResultFor (command As Command) As CommandResult
Parametri
- command
- Command
Comando per il quale trovare un risultato.
Restituisce
Risultato per il comando specificato o null
se non è stato specificato.
Si applica a
FindResultFor(Option)
Ottiene il risultato, se presente, per l'opzione specificata.
public:
System::CommandLine::Parsing::OptionResult ^ FindResultFor(System::CommandLine::Option ^ option);
public System.CommandLine.Parsing.OptionResult? FindResultFor (System.CommandLine.Option option);
member this.FindResultFor : System.CommandLine.Option -> System.CommandLine.Parsing.OptionResult
Public Function FindResultFor (option As Option) As OptionResult
Parametri
- option
- Option
Opzione per cui trovare un risultato.
Restituisce
Risultato per l'opzione specificata o null
se non è stato specificato e non è stato configurato alcun valore predefinito.
Si applica a
FindResultFor(Symbol)
Ottiene il risultato, se presente, per il simbolo specificato.
public:
System::CommandLine::Parsing::SymbolResult ^ FindResultFor(System::CommandLine::Symbol ^ symbol);
public System.CommandLine.Parsing.SymbolResult? FindResultFor (System.CommandLine.Symbol symbol);
member this.FindResultFor : System.CommandLine.Symbol -> System.CommandLine.Parsing.SymbolResult
Public Function FindResultFor (symbol As Symbol) As SymbolResult
Parametri
- symbol
- Symbol
Simbolo per il quale trovare un risultato.
Restituisce
Risultato per il simbolo specificato o null
se non è stato specificato e non è stato configurato alcun valore predefinito.