RequiredArgumentOption Interface

Represents an Option that must have an option argument in the command-line options.

C#
public interface RequiredArgumentOption : Option
Derived
Implements

Properties

ArgumentName

Gets the name of the option argument.

ArgumentValues

Gets the values of all the option arguments corresponding to the same option in occurrence order. Note that they do not contain the option arguments of the options specified after this option.

ArgumentValue

Gets the value of the option argument.

Properties Detail

ArgumentName

Gets the name of the option argument.

C#
string ArgumentName { get; }

Property Value

ArgumentValues

Gets the values of all the option arguments corresponding to the same option in occurrence order. Note that they do not contain the option arguments of the options specified after this option.

C#
IEnumerable<string> ArgumentValues { get; }

Property Value

ArgumentValue

Gets the value of the option argument.

C#
string ArgumentValue { get; }

Property Value