Gets or sets the Object at the specified key.

Namespace: Simol.Cache
Assembly: 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

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

See Also