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:
virtual void Insert(
	String^ key,
	Object^ item,
	CacheInsertOptions^ options
) abstract

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: