Gets the value at the specified key.

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

Syntax

C#
public Object Get(
	string key
)
Visual Basic
Public Function Get ( _
	key As String _
) As Object
Visual C++
public:
virtual Object^ Get(
	String^ key
) sealed

Parameters

key
Type: System..::..String
The cache key.

Return Value

The requested value or null

Implements

IItemCache..::..Get(String)

Exceptions

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

See Also