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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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