SortedTreeTKey, TValueTryAdd Method

Attempts to add the provided key/value to the Tree.

Definition

Namespace: SnapDB.Snap.Tree
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TryAdd(
	TKey key,
	TValue value
)

Parameters

key  TKey
the key to add
value  TValue
the value to add

Return Value

Boolean
returns true if successful, false if a duplicate key was found

See Also