 | ZWOptionsAddOptionString Method |
Add a string option to the program.
Namespace:
OpenZWave
Assembly:
OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntaxpublic bool AddOptionString(
string _name,
string _default,
bool _append
)
Public Function AddOptionString (
_name As String,
_default As String,
_append As Boolean
) As Boolean
public:
virtual bool AddOptionString(
[InAttribute] String^ _name,
[InAttribute] String^ _default,
[InAttribute] bool _append
) sealed
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)"]
RemarksAdds 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 AlsoReference
ZWOptions.GetOptionAsString(String, String*)