Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AspNetCache.IRuntimeCache.Insert Method

Insert an item into the cache.

[Visual Basic]
Public Sub Insert( _
   ByVal key As String, _
   ByVal value As Object, _
   ByVal dependencies As CacheDependency, _
   ByVal absoluteExpiration As Date, _
   ByVal slidingExpiration As TimeSpan, _
   ByVal priority As CacheItemPriority, _
   ByVal onRemoveCallback As CacheItemRemovedCallback _
)
[C#]
void Insert(
   string key,
   object value,
   CacheDependency dependencies,
   DateTime absoluteExpiration,
   TimeSpan slidingExpiration,
   CacheItemPriority priority,
   CacheItemRemovedCallback onRemoveCallback
);

See Also

IRuntimeCache Interface | Spring.Caching Namespace