Click or drag to resize

PersistentDictionaryTKey, TValueTryGetValue Method

Gets the value in the dictionary corresponding to the given key.

Namespace:  AGI.Foundation.Infrastructure.Threading
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public abstract bool TryGetValue(
	TKey key,
	out TValue value
)

Parameters

key
Type: TKey
The key of the item to retrieve from the dictionary.
value
Type: TValue
On return, the value corresponding to the key.

Return Value

Type: Boolean
if the key was found in the dictionary; otherwise .
See Also