Gets the value at the specified key.
Namespace: Simol.CacheAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
C# |
---|
Object Get( string key ) |
Visual Basic |
---|
Function Get ( _ key As String _ ) As Object |
Visual C++ |
---|
Object^ Get( String^ key ) |
Parameters
- key
- Type: System..::..String
The cache key.
Return Value
The requested value or nullExceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | If the key is null |
System..::..ArgumentOutOfRangeException | If the key is empty |