SortedTreeNodeBaseTKey, TValueTryGet2 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
protected virtual bool TryGet2(
	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.

Remarks

This is a slower but more complete implementation of TryGet(TKey, TValue). Overriding classes can call this method after implementing their own high speed TryGet method.

See Also