CommandLineArgumentAttributeIsLong 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: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public bool IsLong { get; set; }

Property Value

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

Remarks

This property is ignored if CommandLineParserMode is not ParsingModeLongShort.

If the CommandLineParserMode property is ParsingModeLongShort and the IsLong property is , the ArgumentName property is ignored.

See Also