ParseResultArgumentName Property

Gets the name of the argument that caused the error or cancellation.

Definition

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

Property Value

String
If the Status property is ParseStatusError, the value of the CommandLineArgumentExceptionArgumentName property. If it's ParseStatusCanceled, or ParseStatusSuccess if CancelModeSuccess was used, the name of the argument that canceled parsing. Otherwise, .

See Also