SortedTreeNodeBaseTKey, TValueInsertUnlessFull Method

Inserts the provided key and value into the current node unless it is full. Note: A duplicate key has already been detected and will never be passed to this function.

Definition

Namespace: SnapDB.Snap.Tree
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
protected abstract bool InsertUnlessFull(
	int index,
	TKey key,
	TValue value
)

Parameters

index  Int32
The index where the key-value pair should be inserted.
key  TKey
The key to insert.
value  TValue
The value to insert.

Return Value

Boolean
true if the insertion was successful; otherwise, false.

See Also