Click or drag to resize

CommandLineGetOptionValues Method

Returns all of the values a command line option that appears multiple times in the command.

Namespace:  Neon.Common
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.14.0
public string[] GetOptionValues(
	string optionName


Type: SystemString
The case sensitive option name (including the leading dashes (-).

Return Value

Type: String
The array of values found sorted in the same order thney appear in the command line.
Note Note
Only command line options that actually specify a value using the colon (=) syntax are returned by this method.

If the optionName was included in a previous DefineOption(String) call, then all aliases for the option will be searched.

See Also