Sets the value at the specified cache key.
Namespace: Simol.CacheAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
C# |
---|
public void Put( string key, Object value ) |
Visual Basic |
---|
Public Sub Put ( _ key As String, _ value As Object _ ) |
Visual C++ |
---|
public: virtual void Put( String^ key, Object^ value ) sealed |
Implements
IItemCache..::..Put(String, Object)Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | If the key is null |
System..::..ArgumentOutOfRangeException | If the key is empty |