UnknownArgumentEventArgsIsCombinedSwitchToken Property

Gets a value that indicates whether this argument is one among a token containing several combined short name switches.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public bool IsCombinedSwitchToken { get; }

Property Value

Boolean
if the unknown argument is part of a combined switch argument when using ParsingModeLongShort; otherwise, .

Remarks

If the unknown argument was part of a combined short switch argument when using ParsingModeLongShort, the Token property will contain all the switch names, while the Name property only contains the name of the unknown switch. For example, the token could be "-xyz" while the name is "y".

See Also