Is this page helpful?
Adds a new item into the cache using the specified absolute expiration data and region name
public virtual bool Add(
string key,
object value,
DateTime absoluteExpiration,
string regionName
)
key
Unique identifier of the cache item.
value
Data for the cache item.
absoluteExpiration
Absolute expiration date to use.
regionName
Optional name of a region in cache.
true if the item was added successfully, false if there is an item in the cache that has the same key.