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
Syntax
public string[] GetOptionValues(
	string optionName
)

Parameters

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.
Remarks
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