public bool AllowDuplicateArguments { get; }
Public ReadOnly Property AllowDuplicateArguments As Boolean
Get
Dim instance As CommandLineParser
Dim value As Boolean
value = instance.AllowDuplicateArguments
public:
property bool AllowDuplicateArguments {
bool get ();
}
If the AllowDuplicateArguments property is , a CommandLineArgumentException is thrown by the Parse(String) method if an argument's value is supplied more than once.
If the AllowDuplicateArguments property is , the last value supplied for the argument is used if it is supplied multiple times.
The AllowDuplicateArguments property has no effect on multi-value or dictionary arguments, which can always be supplied multiple times.
Use the ParseOptions or ParseOptionsAttribute class to change this value.