NamedMapTKey, TValueTryGetValue Method

ScaleOut Software NamedCache API

Namespace:  Soss.Client.Concurrent
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax

public bool TryGetValue(
	TKey key,
	out TValue value
)

Parameters

key
Type: TKey
The key of the value to get.
value
Type: TValue
When this method returns, value contains the object from the NamedMapTKey, TValue with the specified key or the default value of, if the operation failed.

Return Value

Type: Boolean
true if the key was found in the NamedMap{TKey,TValue}; otherwise, false.
Exceptions

ExceptionCondition
ArgumentNullExceptionThrown if key is a null reference.
See Also

Reference