Removes the value at the specified key.
Namespace: Simol.CacheAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
| C# |
|---|
bool Remove( string key ) |
| Visual Basic |
|---|
Function Remove ( _ key As String _ ) As Boolean |
| Visual C++ |
|---|
bool Remove( String^ key ) |
Parameters
- key
- Type: System..::..String
The key.
Return Value
true if the value was found and removed; otherwise, false
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | If the key is null |
| System..::..ArgumentOutOfRangeException | If the key is empty |