ArgumentNameAttributeShortName Property

Gets or sets the argument's short name.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 3.0.0
C#
public char ShortName { get; set; }

Property Value

Char
The short name, or a null character ('\0') if the argument has no short name.

Remarks

This property is ignored if Mode is not LongShort.

If this property is not set but the IsShort property is set to , the short name will be derived using the first character of the long name.

See Also