←Select platform

Set Method (ObjectCache)

Summary

Adds a key/value pair item into the cache with the specified absolute expiration date.

Overload List
Overload Description
Set(CacheItem,CacheItemPolicy) Adds an item into the cache.
Set(string,object,CacheItemPolicy,string) Adds a key/value pair item into the cache.
Set(string,object,DateTime,string) Adds a key/value pair item into the cache with the specified absolute expiration date.
Set<T>(CacheItem<T>,CacheItemPolicy) Adds an item into the cache.
Set<T>(string,T,CacheItemPolicy,string) Adds a key/value pair item into the cache.
Set<T>(string,T,DateTime,string) Adds a key/value pair item into the cache with the specified absolute expiration date.

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