Documentation for the C# command-line option parsing library

OptDefAttribute.ValueType Property

Get or set the type of value to support

public System.Type ValueType {get; set;}

Remarks

For most properties and fields, this is optional (can be left null), but for IList types of properties that take multiple values, this property needs to be set to know how to convert the command-line values to the type the list expects

See Also

OptDefAttribute Class | CommandLine.OptParse Namespace