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.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
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