Click or drag to resize
HelpTextAddOptions Method (Object, String, Int32)
Adds a text block with options usage string.

Namespace: X3Platform.CommandLine.Text
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public void AddOptions(
	Object options,
	string requiredWord,
	int maximumLength
)

Parameters

options
Type: SystemObject
The instance that collected command line arguments parsed with the Parser class.
requiredWord
Type: SystemString
The word to use when the option is required.
maximumLength
Type: SystemInt32
The maximum length of the help documentation.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when parameter options is null.
ArgumentNullExceptionThrown when parameter requiredWord is null or empty string.
See Also