SortedTreeScannerBaseTKey, TValueReadWhile(TKey, TValue, TKey) Method
Continues to advance the stream
but stops short of returning the point that is equal to
the provided key.
Namespace: SnapDB.Snap.TreeAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public virtual bool ReadWhile(
TKey key,
TValue value,
TKey upperBounds
)
Public Overridable Function ReadWhile (
key As TKey,
value As TValue,
upperBounds As TKey
) As Boolean
public:
virtual bool ReadWhile(
TKey key,
TValue value,
TKey upperBounds
)
function ReadWhile(key, value, upperBounds);
- key TKey
- Where to store the key.
- value TValue
- Where to store the value.
- upperBounds TKey
-
The test condition. Will return false if the returned point would have
exceeded this value.
Boolean
Returns
true if the point returned is valid; otherwise,
false if:
The point read is greater than or equal to
upperBounds or
The end of the stream is reached or
The end of the current node has been reached.