SortedTreeNodeBaseTKey, TValueTryInsert Method
Inserts the following value to the tree if it does not exist.
Namespace: SnapDB.Snap.TreeAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public virtual bool TryInsert(
TKey key,
TValue value
)
Public Overridable Function TryInsert (
key As TKey,
value As TValue
) As Boolean
public:
virtual bool TryInsert(
TKey key,
TValue value
)
function TryInsert(key, value);
- key TKey
- The key to add
- value TValue
- The value to add
Booleantrue if added,
false on a duplicate key error.