CommandLineArgumentAttributeShortName Property

Gets or sets the argument's short name.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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

Setting this property implies the IsShort property is .

To derive the short name from the first character of the long name, set the IsShort property to without setting the ShortName property.

See Also