CommandLineArgumentAttributeShortName Property

Gets or sets the argument's short name.

Definition

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