HelpExtensions.Names メソッド

定義

オーバーロード

名前 説明
Names(Command)

プライマリ名とすべてのエイリアスを含む、コマンドのすべての名前を取得します

Names(Option)

プライマリ名とすべてのエイリアスを含む、オプションのすべての名前を取得します

Names(Command)

ソース:
HelpGenerationExtensions.cs

プライマリ名とすべてのエイリアスを含む、コマンドのすべての名前を取得します

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)

ソース:
HelpGenerationExtensions.cs

プライマリ名とすべてのエイリアスを含む、オプションのすべての名前を取得します

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[]

適用対象