CommandResult 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public ref class CommandResult : System::CommandLine::SymbolResult
public class CommandResult : System.CommandLine.SymbolResult
type CommandResult = class
inherit SymbolResult
Public Class CommandResult
Inherits SymbolResult
- 继承
属性
| 名称 | 说明 |
|---|---|
| Arguments |
已过时.
(继承自 SymbolResult)
|
| Children | (继承自 SymbolResult) |
| Command | |
| ErrorMessage | (继承自 SymbolResult) |
| Item[String] | |
| Name | (继承自 SymbolResult) |
| Parent | (继承自 SymbolResult) |
| ParentCommandResult | (继承自 SymbolResult) |
| Symbol | (继承自 SymbolResult) |
| Token | (继承自 SymbolResult) |
| Tokens | (继承自 SymbolResult) |
| ValidationMessages | (继承自 SymbolResult) |
方法
| 名称 | 说明 |
|---|---|
| OptionResult(String) | |
| ToString() | (继承自 SymbolResult) |
| ValueForOption(String) | |
| ValueForOption<T>(String) | |
扩展方法
| 名称 | 说明 |
|---|---|
| GetArgumentValueOrDefault(CommandResult, String) | |
| GetArgumentValueOrDefault<T>(CommandResult, String) | |
| GetValueOrDefault(CommandResult) | |
| GetValueOrDefault<T>(CommandResult) | |