Click or drag to resize

ZWOptionsAddOptionString Method

Add a string option to the program.

Namespace:  OpenZWave
Assembly:  OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntax
public bool AddOptionString(
	string _name,
	string _default,
	bool _append
)

Parameters

_name
Type: SystemString
the name of the option. Option names are case insensitive and must be unique.
_default
Type: SystemString
the default value for this option.
_append
Type: SystemBoolean
Setting append to true will cause values read from the command line or XML file to be concatenated into a comma delimited list. If _append is false, newer values will overwrite older ones.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:OpenZWave.ZWOptions.AddOptionString(System.String,System.String,System.Boolean)"]

Remarks
Adds an option to the program whose value can then be read from a file or command line. All calls to AddOptionString must be made before Lock.
See Also

Reference

ZWOptions.GetOptionAsString(String, String*)