Copies all of the mappings from the specified dictionary to this cache (optional operation).

Namespace: Tangosol.Net.Cache
Assembly: Coherence (in Coherence.dll) Version: 12.1.2.0 (12.1.2.0)

Syntax

C#
public virtual void InsertAll(
	IDictionary dictionary
)

Parameters

dictionary
Type: System.Collections..::..IDictionary
Mappings to be stored in this cache.

Implements

ICache..::..InsertAll(IDictionary)

Remarks

These mappings will replace any mappings that this cache had for any of the keys currently in the specified dictionary.

Exceptions

ExceptionCondition
System..::..InvalidCastException If the class of a key or value in the specified dictionary prevents it from being stored in this cache.
System..::..NullReferenceException This cache does not permit null keys or values, and the specified key or value is null.

See Also