Click or drag to resize

GetBaseClassAddOptionString Method (LocalizeStringPair, OptionString)

Add a command line option to get a string and automatically save the value.

Namespace:  Rhino.Input.Custom
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public int AddOptionString(
	LocalizeStringPair optionName,
	ref OptionString stringValue
)

Parameters

optionName
Type: Rhino.UILocalizeStringPair
The option description.
stringValue
Type: Rhino.Input.CustomOptionString
The current string value.

Return Value

Type: Int32
The option index value (>0) or 0 if option cannot be added.
See Also