OrderedDictionary TKey, TValue  Insert Method (Int32, TKey, TValue)IBM WebSphere™ eXtreme Scale Client for .NET API Specification
IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API Specification

Namespace: IBM.WebSphere.Caching
Assembly: Client.ApiImpl (in Client.ApiImpl.dll) Version: 8.6.0.0
Syntax

Parameters

index
Type: System Int32
The zero-based index where the item should be inserted.
key
Type: TKey
The key of the item to insert.
value
Type: TValue
The value of the item to insert.

Implements

IOrderedDictionary TKey, TValue  Insert(Int32, TKey, TValue)
Exceptions

ExceptionCondition
System ArgumentNullExceptionThrown when the key is null.
System ArgumentOutOfRangeExceptionThrown when index is out of range.
Remarks

The index must be greater than or equal to 0 and the index must be less than the number of elements in the collection; otherwise a ArgumentOutOfRangeException is thrown.
See Also