public bool? AutoVersionArgument { get; set; }
Public Property AutoVersionArgument As Boolean?
Get
Set
Dim instance As ParseOptions
Dim value As Boolean?
value = instance.AutoVersionArgument
instance.AutoVersionArgument = value
public:
property Nullable<bool> AutoVersionArgument {
Nullable<bool> get ();
void set (Nullable<bool> value);
}
If this property is , the CommandLineParser will automatically add an argument with the name "Version". When supplied, this argument will write version information to the console and cancel parsing, without showing usage help.
If you already have an argument named "Version", the automatic version argument will not be created even if this property is .
The name and description can be customized by using a custom StringProvider.
If not , this property overrides the value of the ParseOptionsAttributeAutoVersionArgument property.