CacheManager.Contains Method
Returns true if key refers to item current stored in cache
Namespace: Microsoft.Practices.EnterpriseLibrary.Caching
Assembly: Microsoft.Practices.EnterpriseLibrary.Caching (in Microsoft.Practices.EnterpriseLibrary.Caching.dll)
Syntax
'Declaration
Public Function Contains ( _
key As String _
) As Boolean
public bool Contains(
string key
)
public:
virtual bool Contains(
String^ key
) sealed
public final function Contains(
key : String
) : boolean
Parameters
- key
Type: System.String
Key of item to check for
Return Value
True if item referenced by key is in the cache
Implements
ICacheManager.Contains(String)