Share via


ICacheManager Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

The ICacheManager type exposes the following members.

Methods

  Name Description
Ee775705.pubmethod(en-us,PandP.10).gif Add Overloaded.
Ee775705.pubmethod(en-us,PandP.10).gif Contains
Returns true if key refers to item current stored in cache
Ee775705.pubmethod(en-us,PandP.10).gif Flush
Removes all items from the cache. If an error occurs during the removal, the cache is left unchanged.
Ee775705.pubmethod(en-us,PandP.10).gif GetData
Returns the value associated with the given key.
Ee775705.pubmethod(en-us,PandP.10).gif Remove
Removes the given item from the cache. If no item exists with that key, this method does nothing.

Properties

  Name Description
Ee775705.pubproperty(en-us,PandP.10).gif Count
Returns the number of items currently in the cache.
Ee775705.pubproperty(en-us,PandP.10).gif Item
Returns the item identified by the provided key

See Also

ICacheManager Interface

Microsoft.Practices.EnterpriseLibrary.Caching Namespace