ParseOptions.ArgumentNameComparison Property

Gets or set the type of string comparison to use for argument names.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
C#
public StringComparison? ArgumentNameComparison { get; set; }

Property Value

Nullable<StringComparison>
One of the values of the StringComparison enumeration, or null to use the one determined using the ParseOptionsAttribute.CaseSensitive property, or if the ParseOptionsAttribute is not present, StringComparison.OrdinalIgnoreCase. The default value is null.

Remarks

If not null, this property overrides the value of the ParseOptionsAttribute.CaseSensitive property.

See Also