Click or drag to resize

RankedMapTKey, TValueKeyCollectionEnumeratorSkipWhile Method (FuncTKey, Int32, Boolean)

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

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

Parameters

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

Return Value

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