SortedTreeNodeBaseTKey, TValueTryGet Method
Gets the value for the provided key if it exists.
Namespace: SnapDB.Snap.TreeAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public virtual bool TryGet(
TKey key,
TValue value
)
Public Overridable Function TryGet (
key As TKey,
value As TValue
) As Boolean
public:
virtual bool TryGet(
TKey key,
TValue value
)
function TryGet(key, value);
- key TKey
- The key to search for.
- value TValue
- Where to write the value if found.
Booleantrue if the value exists,
false if not found.