MemoryCache::Add Method

.NET Framework (current version)
 

Namespace:   System.Runtime.Caching
Assembly:  System.Runtime.Caching (in System.Runtime.Caching.dll)

NameDescription
System_CAPS_pubmethodAdd(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^).)

System_CAPS_pubmethodAdd(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.)

System_CAPS_pubmethodAdd(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.)

Return to top
Show: