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.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
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