Gets the value at the specified key.
Namespace: Simol.CacheAssembly: 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 nullImplements
IItemCache..::..Get(String)Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | If the key is null |
System..::..ArgumentOutOfRangeException | If the key is empty |