CacheStoreProvider.Add(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.
Adds the specified item to the cache with options.
public:
abstract System::Object ^ Add(System::String ^ key, System::Object ^ item, System::Web::Caching::CacheInsertOptions ^ options);
public abstract object Add (string key, object item, System.Web.Caching.CacheInsertOptions options);
abstract member Add : string * obj * System.Web.Caching.CacheInsertOptions -> obj
Public MustOverride Function Add (key As String, item As Object, options As CacheInsertOptions) As Object
Parameters
- key
- String
The key used to reference the item.
- item
- Object
The item to be added to the cache.
- options
- CacheInsertOptions
The cache options.
Returns
The object that was added to the cache.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.