SortedTreeNodeBaseTKey, TValueTryGet Method

Gets the value for the provided key if it exists.

Definition

Namespace: SnapDB.Snap.Tree
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public virtual bool TryGet(
	TKey key,
	TValue value
)

Parameters

key  TKey
The key to search for.
value  TValue
Where to write the value if found.

Return Value

Boolean
true if the value exists, false if not found.

See Also