Method TrySuccessor
TrySuccessor(K, out KeyValuePair<K, V>)
Find the entry in the dictionary whose key is the successor of the specified key.
Declaration
public bool TrySuccessor(K key, out KeyValuePair<K, V> res)
Parameters
Type | Name | Description |
---|---|---|
K | key | The key |
KeyValuePair<K, V> | res | The successor, if any |
Returns
Type | Description |
---|---|
System.Boolean | True if the key has a successor |