Adds a new key to the Dictionary, or modifies the value of an existing key.
Namespace:
Phidgets
Assembly:
Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public void add(
string key,
string value
) |
Visual Basic (Declaration) |
---|
Public Sub add ( _
key As String, _
value As String _
) |
Visual C++ |
---|
public:
void add(
String^ key,
String^ value
) |
Parameters
- key
- Type: System..::.String
The key can only contain numbers, letters, ‘/’, ‘.’, ‘-‘, ‘_’, and must begin with a letter, ‘_’ or ‘/’.
- value
- Type: System..::.String
The value can contain any characters.
Remarks
Exceptions
See Also