Click or drag to resize

WeakDictionaryTKey, TValueTryGetValue Method

Tries to get the value associated with the specified key.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public virtual bool TryGetValue(
	TKey key,
	out TValue val
)

Parameters

key  TKey
The key to locate.
val  TValue
When this method returns, contains the value associated with the key, if found; otherwise, the default value.

Return Value

Boolean
True if the key was found; otherwise, false.
See Also