GenericEncodedNodeTKey, TValueClone Method

Creates a new instance of GenericEncodedNodeTKey, TValue as a clone of the current node.

Definition

Namespace: SnapDB.Snap.Tree
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public override SortedTreeNodeBase<TKey, TValue> Clone(
	byte level
)

Parameters

level  Byte
The level of the new node within the tree structure.

Return Value

SortedTreeNodeBaseTKey, TValue
A new node instance cloned from the current node with the specified level.

Remarks

This method is used to create a clone of the current node, replicating its contents and configuration. The clone has the same encoding method as the original node, and the specified level within the tree structure.

See Also