Click or drag to resize

CommandLineParserGetArgument Method

Gets a command line argument by name.

Namespace:  Ookii.CommandLine
Assembly:  Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.4.0
Syntax
public CommandLineArgument? GetArgument(
	string name
)

Parameters

name
Type: SystemString
The name of the argument.

Return Value

Type: CommandLineArgument
The CommandLineArgument instance containing information about the argument, or if the argument was not found.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is .
See Also