GetBaseClassAddOption Method (LocalizeStringPair, LocalizeStringPair) |
Adds a command line option.
Namespace:
Rhino.Input.Custom
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic int AddOption(
LocalizeStringPair optionName,
LocalizeStringPair optionValue
)
Public Function AddOption (
optionName As LocalizeStringPair,
optionValue As LocalizeStringPair
) As Integer
Parameters
- optionName
- Type: Rhino.UILocalizeStringPair
Must only consist of letters and numbers (no characters list periods, spaces, or dashes)
- optionValue
- Type: Rhino.UILocalizeStringPair
The localized value visualized after an equality sign.
Return Value
Type:
Int32
option index value (>0) or 0 if option cannot be added.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also