Click or drag to resize

OptionString Constructor (String, Boolean)

Constructs the option object.

Namespace:  Rhino.Input.Custom
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public OptionString(
	string initialString,
	bool allowEmptyString
)

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