Get the item from the cache.

Namespace: Lucene.Net.Util.Cache
Assembly: Lucene.Net.Contrib.Core (in Lucene.Net.Contrib.Core.dll) Version: 2.9.2.0 (2.9.2)

Syntax

C#
public virtual T Get(
	IndexReader reader,
	string key
)
Visual Basic
Public Overridable Function Get ( _
	reader As IndexReader, _
	key As String _
) As T
Visual C++
public:
virtual T Get(
	IndexReader^ reader, 
	String^ key
)

Parameters

reader
Type: Lucene.Net.Index..::..IndexReader
The IndexReader the cache is from.
key
Type: System..::..String
The key of the item under the reader.

Return Value

The item from cache.

See Also