 | ZWOptionsAddOptionInt Method |
Add an integer option to the program.
Namespace:
OpenZWave
Assembly:
OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntaxpublic bool AddOptionInt(
string _name,
int _default
)
Public Function AddOptionInt (
_name As String,
_default As Integer
) As Boolean
public:
virtual bool AddOptionInt(
[InAttribute] String^ _name,
[InAttribute] int _default
) sealed
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)"]
RemarksAdds 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 AlsoReference
ZWOptions.GetOptionAsInt(String, Int32*)