|
RedBlackTreeDictionaryTKey, TValueTryGetNext Method
|
Gets the next key-value pair in the dictionary whose key is
the immediate successor to the given key.
Namespace:
Accord.Collections
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public bool TryGetNext(
TKey key,
out KeyValuePair<TKey, TValue> next
)
Public Function TryGetNext (
key As TKey,
<OutAttribute> ByRef next As KeyValuePair(Of TKey, TValue)
) As Boolean
Request Example
View SourceParameters
- key
- Type: TKey
The key whose successor must be found. - next
- Type: System.Collections.GenericKeyValuePairTKey, TValue
The key-value pair whose key is the immediate sucessor of
key, returned as an out parameter.
Return Value
Type:
Boolean
True if there was a successor in the dictionary; false otherwise.
See Also