HelpBuilder.Default.GetIdentifierSymbolUsageLabel Method

Definition

Gets the usage label for the specified symbol (typically used as the first column text in help output).

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

Parameters

symbol
IdentifierSymbol

The symbol to get a help item for.

context
HelpContext

The help context, used for localization purposes.

Returns

Text to display.

Applies to