OrderedDictionary TKey, TValue  Item Property (TKey)IBM WebSphere™ eXtreme Scale Client for .NET API Specification
IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API Specification

Gets or sets the value associated with the specified key.

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

Parameters

key
Type: TKey
The key of the value to get or set.

Field Value

The value associated with the specified key. If the specified key does not exist during a get operation, a KeyNotFoundException is thrown.

Implements

IDictionary TKey, TValue  Item TKey 
Exceptions

ExceptionCondition
System ArgumentNullExceptionThrown when key is null.
System.Collections.Generic KeyNotFoundExceptionThrown when key is not found during a get operation.
Remarks

A set operation will add or replace a value in the collection, with new values being appended to the end of the collection. A key cannot be null; however a value can be. The key cannot be an int; if it is an int, then the Item Int32  property is used.
See Also