Removes a key, or set of keys, from the Dictionary.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
| C# |
|---|
public void remove( string keypattern ) |
| Visual Basic (Declaration) |
|---|
Public Sub remove ( _ keypattern As String _ ) |
| Visual C++ |
|---|
public: void remove( String^ keypattern ) |
Parameters
- keypattern
- Type: System..::.String
The key name is a regular expressions pattern, and so care must be taken to only have it match the specific keys you want to remove.
Exceptions
| Exception | Condition |
|---|---|
| Phidgets..::.PhidgetException | if this Dictionary was not opened. |
| Phidgets..::.PhidgetException | If this Dictionary was not opened, or if the server is not connected. |