Checks if the specified item exists in the cache.

Namespace:  Mindroute.Core.Caching
Assembly:  Mindroute.Core (in Mindroute.Core.dll) Version: 1.0.0.0 (1.0.0)

Syntax

C#
public bool Exists(
	CacheRegion region,
	string key
)
Visual Basic (Declaration)
Public Function Exists ( _
	region As CacheRegion, _
	key As String _
) As Boolean

Parameters

region
Type: Mindroute.Core.Caching..::.CacheRegion
The cache region from which to get the cache item.
key
Type: System..::.String
The identifier for the cache item to retrieve.

Return Value

true if the item exists in the cache, otherwise false.

Implements

ICache..::.Exists(CacheRegion, String)

See Also