←Select platform

AddOrGetExisting Method (ObjectCache)

Summary

Adds an entry using key and value pair and absolute expiration date into the cache, and returns an existing cache entry with a matching key.

Overload List
Overload Description
AddOrGetExisting(CacheItem,CacheItemPolicy) Adds a cache entry into the cache, and returns an existing cache entry with a matching key.
AddOrGetExisting(string,object,CacheItemPolicy,string) Adds an entry using key and value pair into the cache, and returns an existing cache entry with a matching key.
AddOrGetExisting(string,object,DateTime,string) Adds an entry using key and value pair and absolute expiration date into the cache, and returns an existing cache entry with a matching key.
AddOrGetExisting<T>(CacheItem<T>,CacheItemPolicy) Adds a cache entry into the cache, and returns an existing cache entry with a matching key.
AddOrGetExisting<T>(string,T,CacheItemPolicy,string) Adds an entry using key and value pair into the cache, and returns an existing cache entry with a matching key.
AddOrGetExisting<T>(string,T,DateTime,string) Adds an entry using key and value pair and absolute expiration date into the cache, and returns an existing cache entry with a matching key.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly