Click or drag to resize

GetBaseClassAddOption Method (String, String)

Adds a command line option.

Namespace:  Rhino.Input.Custom
Assembly:  RhinoCommon (in RhinoCommon.dll)
public int AddOption(
	string englishOption,
	string englishOptionValue


Type: SystemString
Must only consist of letters and numbers (no characters list periods, spaces, or dashes).
Type: SystemString
The option value in English, visualized after an equality sign.

Return Value

Type: Int32
Option index value (>0) or 0 if option cannot be added.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.27
See Also