Is this page helpful?
Adds a new item into the cache using the specified region name.
public virtual bool Add<T>(
string key,
T value,
CacheItemPolicy policy,
string regionName
)
key
Unique identifier of the cache item.
value
Data for the cache item.
policy
Expiration policy 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.