Click or drag to resize

ZWOptionsAddOptionInt Method

Add an integer option to the program.

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

Parameters

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

Return Value

Type: Boolean

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

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.GetOptionAsInt(String, Int32*)