WebCache Set Method (String, Object, DateTimeOffset, String)Nemiro.Data.dll
Inserts a cache entry into the cache by using a key and a value and specifies time-based expiration details.

Namespace: Nemiro.Data.Caching
Assembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax

public override void Set(
	string key,
	Object value,
	DateTimeOffset absoluteExpiration,
	string regionName = null
)

Parameters

key
Type: System String
A unique identifier for the cache entry to add or get.
value
Type: System Object
The data for the cache entry.
absoluteExpiration
Type: System DateTimeOffset
The fixed date and time at which the cache entry will expire.
regionName (Optional)
Type: System String
A named region in the cache to which a cache entry was added.
See Also