FixedSizeNodeTKey, TValueRemoveUnlessOverflow Method
Removes a key-value pair at the specified index unless it would cause an overflow.
Namespace: SnapDB.Snap.TreeAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
protected override bool RemoveUnlessOverflow(
int index
)
Protected Overrides Function RemoveUnlessOverflow (
index As Integer
) As Boolean
protected:
virtual bool RemoveUnlessOverflow(
int index
) override
function RemoveUnlessOverflow(index);
- index Int32
- The index of the key-value pair to be removed.
Booleantrue if the key-value pair was successfully removed; otherwise,
false.
This method removes the key-value pair at the specified index unless removing it would result in an overflow,
in which case, it will not remove the pair. Overflow occurs when the node can't accommodate the removal
while maintaining its size constraints.
| IndexOutOfRangeException | Thrown if the provided index is out of range. |