FixedSizeNodeTKey, TValueInsertUnlessFull Method
Inserts a key-value pair at the specified index unless the node is already full.
Namespace: SnapDB.Snap.TreeAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
protected override bool InsertUnlessFull(
int index,
TKey key,
TValue value
)
Protected Overrides Function InsertUnlessFull (
index As Integer,
key As TKey,
value As TValue
) As Boolean
protected:
virtual bool InsertUnlessFull(
int index,
TKey key,
TValue value
) override
function InsertUnlessFull(index, key, value);
- index Int32
- The index at which to insert the key-value pair.
- key TKey
- The key to insert.
- value TValue
- The value to insert.
Booleantrue if the key-value pair was successfully inserted; otherwise,
false.
This method inserts the specified key-value pair at the specified index within the node, unless
the node is already full and can't accommodate the insertion while maintaining its size constraints.