Removes the value at the specified key.

Namespace: Simol.Cache
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptionIf the key is null
System..::..ArgumentOutOfRangeExceptionIf the key is empty

See Also