CommandResult Class
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.
public ref class CommandResult : System::CommandLine::SymbolResult
public class CommandResult : System.CommandLine.SymbolResult
type CommandResult = class
inherit SymbolResult
Public Class CommandResult
Inherits SymbolResult
- Inheritance
Properties
| Name | Description |
|---|---|
| Arguments |
Obsolete.
(Inherited from SymbolResult)
|
| Children | (Inherited from SymbolResult) |
| Command | |
| ErrorMessage | (Inherited from SymbolResult) |
| Item[String] | |
| Name | (Inherited from SymbolResult) |
| Parent | (Inherited from SymbolResult) |
| ParentCommandResult | (Inherited from SymbolResult) |
| Symbol | (Inherited from SymbolResult) |
| Token | (Inherited from SymbolResult) |
| Tokens | (Inherited from SymbolResult) |
| ValidationMessages | (Inherited from SymbolResult) |
Methods
| Name | Description |
|---|---|
| OptionResult(String) | |
| ToString() | (Inherited from SymbolResult) |
| ValueForOption(String) | |
| ValueForOption<T>(String) | |
Extension Methods
| Name | Description |
|---|---|
| GetArgumentValueOrDefault(CommandResult, String) | |
| GetArgumentValueOrDefault<T>(CommandResult, String) | |
| GetValueOrDefault(CommandResult) | |
| GetValueOrDefault<T>(CommandResult) | |