Mindscape LightSpeed - User Reference & API Documentation
SetItem Method (key, item, expiry)
API ReferenceMindscape.LightSpeed.CachingICacheSetItem(String, Object, TimeSpan)
Sets an item into the cache overwriting any existing item with the same key.
Declaration Syntax
C#Visual Basic
void SetItem(
	string key,
	Object item,
	TimeSpan expiry
)
Sub SetItem ( _
	key As String, _
	item As Object, _
	expiry As TimeSpan _
)
Parameters
key (String)
The key of the item to be stored.
item (Object)
The item to be stored.
expiry (TimeSpan)
The interval after which the item expires and is removed from the cache.

Assembly: Mindscape.LightSpeed (Module: Mindscape.LightSpeed) Version: 1.2.1393.0 (1.2.1393.0)