CacheStoreProvider::Add Method (String^, Object^, CacheInsertOptions^)
Adds the specified item to the cache with options.
Assembly: System.Web (in System.Web.dll)
public: virtual Object^ Add( String^ key, Object^ item, CacheInsertOptions^ options ) abstract
Parameters
- key
-
Type:
System::String^
The key used to reference the item.
- item
-
Type:
System::Object^
The item to be added to the cache.
- options
-
Type:
System.Web.Caching::CacheInsertOptions^
The cache options.
.NET Framework
Available since 4.7
Available since 4.7
Show: