OptionString Constructor (String, Boolean) |
Constructs the option object.
Namespace:
Rhino.Input.Custom
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic OptionString(
string initialString,
bool allowEmptyString
)
Public Sub New (
initialString As String,
allowEmptyString As Boolean
)
Parameters
- initialString
- Type: SystemString
The initial value. - allowEmptyString
- Type: SystemBoolean
If false, the value is not allowed to be changed to an empty string. It is allowed to remain empty if it starts out as empty.
If true, the string is allowed to be changed to an empty string.
See Also