Click or drag to resize

RankedMapTKey, TValueSkipWhile Method (FuncKeyValuePairTKey, TValue, Int32, Boolean)

Bypasses elements as long as a supplied index-based condition is true and yields the remaining elements.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public RankedMapTKey, TValueEnumerator SkipWhile(
	Func<KeyValuePair<TKey, TValue>, int, bool> predicate
)

Parameters

predicate
Type: SystemFuncKeyValuePairTKey, TValue, Int32, Boolean
The condition to test for.

Return Value

Type: RankedMapTKey, TValueEnumerator
Remaining elements after the first element that does not satisfy the supplied condition.
Exceptions
ExceptionCondition
InvalidOperationExceptionWhen the map was modified after the enumerator was created.
See Also