GetBaseClassAddOptionString Method (String, 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
Syntaxpublic int AddOptionString(
string englishName,
ref OptionString stringValue
)
Public Function AddOptionString (
englishName As String,
ByRef stringValue As OptionString
) As Integer
Parameters
- englishName
- Type: SystemString
The option description. - stringValue
- Type: Rhino.Input.CustomOptionString
The current string value.
Return Value
Type:
Int32The option index value (>0) or 0 if option cannot be added.
See Also