CommandLineArgumentAttributeIsRequired Property |
Gets or sets a value indicating whether the named argument is required.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntaxpublic bool IsRequired { get; set; }
Public Property IsRequired As Boolean
Get
Set
Dim instance As CommandLineArgumentAttribute
Dim value As Boolean
value = instance.IsRequired
instance.IsRequired = value
public:
property bool IsRequired {
bool get ();
void set (bool value);
}
Property Value
Type:
Boolean if the named argument must be supplied on the command line; otherwise,
.
The default value is
.
See Also