Add array of CacheItem to the cache.
Namespace: Alachisoft.NCache.Web.CachingAssembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.1.0.0 (4.1.0.0)
Syntax
C# |
---|
public virtual IDictionary AddBulk( string[] keys, CacheItem[] items, DSWriteOption dsWriteOption, string providerName, DataSourceItemsAddedCallback onDataSourceItemsAdded ) |
Visual Basic |
---|
Public Overridable Function AddBulk ( _ keys As String(), _ items As CacheItem(), _ dsWriteOption As DSWriteOption, _ providerName As String, _ onDataSourceItemsAdded As DataSourceItemsAddedCallback _ ) As IDictionary |
Visual C++ |
---|
public: virtual IDictionary^ AddBulk( array<String^>^ keys, array<CacheItem^>^ items, DSWriteOption dsWriteOption, String^ providerName, DataSourceItemsAddedCallback^ onDataSourceItemsAdded ) |
Parameters
- keys
- Type: array<System..::..String>[]()[][]
The cache keys used to reference the items.
- items
- Type: array<Alachisoft.NCache.Web.Caching..::..CacheItem>[]()[][]
The items that are to be stored
- dsWriteOption
- Type: Alachisoft.NCache.Web.Caching..::..DSWriteOption
Options regarding updating data source
- providerName
- Type: System..::..String
A unique identifier for the data source
- onDataSourceItemsAdded
- Type: Alachisoft.NCache.Web.Caching..::..DataSourceItemsAddedCallback
A delegate that, if provided, is called when item is added to data source