←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly