Anmelden

.NET Framework Class Library
ArgumentType Enumeration
SeeAlso Send Feedback

Used to control parsing of command line arguments.

Namespace: Nsoft.Utilities.CommandLine
Assembly: Nsoft.Utilities (in Nsoft.Utilities.dll)

Syntax

Visual Basic (Declaration)
<FlagsAttribute> _
Public Enumeration ArgumentType
C#
[FlagsAttribute]
public enum ArgumentType
Visual C++
[FlagsAttribute]
public enum class ArgumentType
JavaScript
Nsoft.Utilities.CommandLine.ArgumentType = function();
Nsoft.Utilities.CommandLine.ArgumentType.createEnum('Nsoft.Utilities.CommandLine.ArgumentType', true);

Members

Member nameDescription
Required
Indicates that this field is required. An error will be displayed if it is not present when parsing arguments.
Unique
Only valid in conjunction with Multiple. Duplicate values will result in an error.
Multiple
Inidicates that the argument may be specified more than once. Only valid if the argument is a collection
AtMostOnce
The default type for non-collection arguments. The argument is not required, but an error will be reported if it is specified more than once.
LastOccurenceWins
For non-collection arguments, when the argument is specified more than once no error is reported and the value of the argument is the last value which occurs in the argument list.
MultipleUnique
The default type for collection arguments. The argument is permitted to occur multiple times, but duplicate values will cause an error to be reported.

See Also

Overview of namespaces
   
Top

Wir arbeiten mit Software von http://www.campus21.de.

Verantwortlich für angezeigte Daten ist der Webdomain-Eigentümer laut Impressum.

Suche