←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

See Also

ObjectCache Class

ObjectCache Members

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

Leadtools.Caching Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.