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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.