CacheStoreProvider.Insert(String, Object, CacheInsertOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts an object and dependencies into the cache.
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)
Parameters
- key
- String
The key that is used to reference the object.
- item
- Object
The item to insert into the cache.
- options
- CacheInsertOptions
The cache options.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.