HelpExtensions.Names メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| Names(Command) |
プライマリ名とすべてのエイリアスを含む、コマンドのすべての名前を取得します |
| Names(Option) |
プライマリ名とすべてのエイリアスを含む、オプションのすべての名前を取得します |
Names(Command)
プライマリ名とすべてのエイリアスを含む、コマンドのすべての名前を取得します
public:
[System::Runtime::CompilerServices::Extension]
static cli::array <System::String ^> ^ Names(System::CommandLine::Command ^ command);
public static string[] Names(this System.CommandLine.Command command);
static member Names : System.CommandLine.Command -> string[]
<Extension()>
Public Function Names (command As Command) As String()
パラメーター
- command
- Command
返品
String[]
適用対象
Names(Option)
プライマリ名とすべてのエイリアスを含む、オプションのすべての名前を取得します
public:
[System::Runtime::CompilerServices::Extension]
static cli::array <System::String ^> ^ Names(System::CommandLine::Option ^ option);
public static string[] Names(this System.CommandLine.Option option);
static member Names : System.CommandLine.Option -> string[]
<Extension()>
Public Function Names (option As Option) As String()
パラメーター
- option
- Option
返品
String[]