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 | |
---|---|---|
Add | Overloaded. | |
Contains |
Returns true if key refers to item current stored in cache
|
|
Flush |
Removes all items from the cache. If an error occurs during the removal, the cache is left unchanged.
|
|
GetData |
Returns the value associated with the given key.
|
|
Remove |
Removes the given item from the cache. If no item exists with that key, this method does nothing.
|
Properties
Name | Description | |
---|---|---|
Count |
Returns the number of items currently in the cache.
|
|
Item |
Returns the item identified by the provided key
|