CommandLineArgumentIsRequired Property

Gets a value that indicates whether the argument is required.

Definition

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

Property Value

Boolean
if the argument's value must be specified on the command line; if the argument may be omitted.

Remarks

An argument is required if its CommandLineArgumentAttributeIsRequired, property is , or if it was defined by an property with the required keyword available in C# 11 and later.

See Also