CacheStoreProvider.Insert Method (String, Object, CacheInsertOptions)

 

Inserts an object and dependencies into the cache.

Namespace:   System.Web.Caching
Assembly:  System.Web (in System.Web.dll)

public abstract void Insert(
	string key,
	object item,
	CacheInsertOptions options
)

Parameters

key
Type: System.String

The key that is used to reference the object.

item
Type: System.Object

The item to insert into the cache.

options
Type: System.Web.Caching.CacheInsertOptions

The cache options.

.NET Framework
Available since 4.7
Return to top
Show: