Click or drag to resize

RankedDictionaryTKey, TValueElementsFrom Method

Returns an enumerator that iterates over a range with the supplied lower bound.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public IEnumerable<KeyValuePair<TKey, TValue>> ElementsFrom(
	TKey lower
)

Parameters

lower
Type: TKey
Minimum key of the range.

Return Value

Type: IEnumerableKeyValuePairTKey, TValue
An enumerator for the specified range.
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen key is null.
Remarks

If lower is present in the dictionary, it will be included in the results.

Retrieving the initial item is a O(log n) operation. Retrieving each subsequent item is a O(1) operation.

See Also