Gets or sets the Object at the specified key.
Namespace: Simol.CacheAssembly: Simol (in Simol.dll) Version: 1.0.0.0
Syntax
C# |
---|
public Object this[ string key ] { get; set; } |
Visual Basic |
---|
Public Default Property Item ( _ key As String _ ) As Object Get Set |
Visual C++ |
---|
public: virtual property Object^ default[String^ key] { Object^ get (String^ key) sealed; void set (String^ key, Object^ value) sealed; } |
Parameters
- key
- Type: System..::..String
Field Value
Implements
IItemCache..::..Item[([( String])])Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | If the key is null |
System..::..ArgumentOutOfRangeException | If the key is empty |