HelpBuilder.Default.GetIdentifierSymbolUsageLabel 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定符號的使用標籤, (通常用於說明輸出) 中的第一個數據行文字。
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
用於當地語系化用途的說明內容。
傳回
要顯示的文字。