Click or drag to resize

CommandLineGetFlag Method

Determines whether an option is present on the command line.

Namespace:  Neon.Common
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.14.0
Syntax
public bool GetFlag(
	string optionName
)

Parameters

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

Return Value

Type: Boolean
The option value if present, the specified default value otherwise.
See Also