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

Leadtools.Caching Assembly