←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

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.