OrderedDictionary TKey, TValue  TryGetValue Method IBM WebSphere™ eXtreme Scale Client for .NET API Specification
IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API Specification

Get 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.
val
Type: TValue 
The value associated with the specified key.

Return Value

true if the OrderedDictionary TKey, TValue  contained the specified key; otherwise false.

Implements

IDictionary TKey, TValue  TryGetValue(TKey, TValue )
Exceptions

ExceptionCondition
System ArgumentNullExceptionThrown when key is null.
Remarks

If the key is not found, val is initialized to the default value associated with its data type.
See Also