SortedTreeNodeBaseTKey, TValueTryGet2 Method
Gets the value for the provided key if it exists.
Namespace: SnapDB.Snap.TreeAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
protected virtual bool TryGet2(
TKey key,
TValue value
)
Protected Overridable Function TryGet2 (
key As TKey,
value As TValue
) As Boolean
protected:
virtual bool TryGet2(
TKey key,
TValue value
)
function TryGet2(key, value);
- key TKey
- The key to search for.
- value TValue
- where to write the value if found.
Booleantrue if the value exists,
false if not found.
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.