←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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.