GetOptionValueName(Option, Int32) Method

Definition

Assembly XenoAtom.CommandLine.dll

Gets the display name for an option value placeholder from its description.

public static string GetOptionValueName(Option option, int valueIndex = 0)

Parameters

option
Option

The option.

valueIndex
Int32

The 0-based value index for multi-value options.

Returns

String
The value name (for example PORT, VALUE).