Export (0) Print
Expand All

MemoryCache.Add Method

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Add(CacheItem, CacheItemPolicy) Inserts a cache entry into the cache as a CacheItem instance, and adds details about how the entry should be evicted. (Overrides ObjectCache.Add(CacheItem, CacheItemPolicy).)
Public method Add(String, Object, DateTimeOffset, String) When overridden in a derived class, inserts a cache entry into the cache without overwriting any existing cache entry. (Inherited from ObjectCache.)
Public method Add(String, Object, CacheItemPolicy, String) When overridden in a derived class, inserts a cache entry into the cache, specifying information about how the entry will be evicted. (Inherited from ObjectCache.)
Top
Show:
© 2014 Microsoft