共用方式為


HelpBuilder.Default.GetIdentifierSymbolUsageLabel 方法

定義

取得指定符號的使用標籤, (通常用於說明輸出) 中的第一個數據行文字。

public:
 static System::String ^ GetIdentifierSymbolUsageLabel(System::CommandLine::IdentifierSymbol ^ symbol, System::CommandLine::Help::HelpContext ^ context);
public static string GetIdentifierSymbolUsageLabel (System.CommandLine.IdentifierSymbol symbol, System.CommandLine.Help.HelpContext context);
static member GetIdentifierSymbolUsageLabel : System.CommandLine.IdentifierSymbol * System.CommandLine.Help.HelpContext -> string
Public Shared Function GetIdentifierSymbolUsageLabel (symbol As IdentifierSymbol, context As HelpContext) As String

參數

symbol
IdentifierSymbol

要為其取得說明專案的符號。

context
HelpContext

用於當地語系化用途的說明內容。

傳回

要顯示的文字。

適用於