CommandLineArgumentAttributeIsShort Property

Gets or sets a value that indicates whether the argument has a short name.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public bool IsShort { get; set; }

Property Value

Boolean
if the argument has a short name; otherwise, . The default value is .

Remarks

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

If the ShortName property is set to a value other than the null character, this property will always return .

See Also