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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET