SparseIndexTKeyUpdateKey Method
Updates the specified leaf node to the provided key.
Namespace: SnapDB.Snap.TreeAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public void UpdateKey(
TKey oldKey,
TKey newKey,
byte level
)
Public Sub UpdateKey (
oldKey As TKey,
newKey As TKey,
level As Byte
)
public:
void UpdateKey(
TKey oldKey,
TKey newKey,
unsigned char level
)
function UpdateKey(oldKey, newKey, level);
Parameters
- oldKey TKey
- The old key that is to be updated.
- newKey TKey
- The new key to replace the old key.
- level Byte
- The level of the node.
| Exception | Thrown if key of root cannot be updated. |