October 2010
Intermediate to advanced
1920 pages
73h 55m
English
The Cache object exposes the main application programming interface for caching. This object supports the following properties:
• Count—
Represents the number of items in the cache.
• EffectivePrivateBytesLimit—
Represents the size of the cache in kilobytes.
The Cache object also supports the following methods:
• Add—
Enables you to add a new item to the cache. If the item already exists, this method fails.
• Get—
Enables you to return a particular item from the cache.
• GetEnumerator—
Enables you to iterate through all the items in the cache.
• Insert—
Enables you to insert a new item into the cache. If the item already exists, this method replaces it.
• Remove—
Enables you to remove an item ...