Click or drag to resize

ZWOptionsAddOptionBool Method

Add a boolean option to the program.

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

Parameters

_name
Type: SystemString
the name of the option. Option names are case insensitive and must be unique.
_default
Type: SystemBoolean
the default value for this option.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:OpenZWave.ZWOptions.AddOptionBool(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 AddOptionInt must be made before Lock.
See Also

Reference

ZWOptions.GetOptionAsBool(String, Boolean*)