CommandLineArgumentAttribute.IsLong Property

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

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 3.1.1
C#
public bool IsLong { get; set; }

Property Value

Boolean
true if the argument has a long name; otherwise, false. The default value is true.

Remarks

This property is ignored if Mode is not LongShort.

If the Mode property is LongShort and the IsLong property is false, the ArgumentName property is ignored.

See Also