|
RedBlackTreeDictionaryTKey, TValueGetPrevious Method
|
Gets the next key-value pair in the dictionary whose key is
the immediate ancestor of the given key.
Namespace:
Accord.Collections
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public KeyValuePair<TKey, TValue> GetPrevious(
TKey key
)
Public Function GetPrevious (
key As TKey
) As KeyValuePair(Of TKey, TValue)
Request Example
View SourceParameters
- key
- Type: TKey
The key whose ancestor must be found.
Return Value
Type:
KeyValuePairTKey,
TValue
The key-value pair whose key is the immediate ancestor of
key.
See Also