Sets the value at the specified cache key.

Namespace: Simol.Cache
Assembly: Simol (in Simol.dll) Version: 1.0.0.0

Syntax

C#
void Put(
	string key,
	Object value
)
Visual Basic
Sub Put ( _
	key As String, _
	value As Object _
)
Visual C++
void Put(
	String^ key, 
	Object^ value
)

Parameters

key
Type: System..::..String
The key.
value
Type: System..::..Object
The value.

Exceptions

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

See Also