CacheStoreProvider.Insert(String, Object, CacheInsertOptions) 方法

定义

将对象和依赖项插入缓存中。

public:
 abstract void Insert(System::String ^ key, System::Object ^ item, System::Web::Caching::CacheInsertOptions ^ options);
public abstract void Insert (string key, object item, System.Web.Caching.CacheInsertOptions options);
abstract member Insert : string * obj * System.Web.Caching.CacheInsertOptions -> unit
Public MustOverride Sub Insert (key As String, item As Object, options As CacheInsertOptions)

参数

key
String

用来引用对象的密钥。

item
Object

要插入到缓存中的项。

options
CacheInsertOptions

缓存选项。

适用于