CommandLineArgumentAttributeIsRequired Property

Gets or sets a value indicating whether the argument is required.

Definition

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

Property Value

Boolean
if the argument must be supplied on the command line; otherwise, . The default value is .

Remarks

If the CommandLineArgumentAttribute attribute is used on a property with the C# required keyword, the argument will always be required, and the value of this property is ignored.

See Also