TakeWhile Method

Task Parallel System.Threading

Overload List

  NameDescription
TakeWhile<(Of <(TSource>)>)(ParallelQuery<(Of <(TSource>)>), Func<(Of <(TSource, Boolean>)>))
Returns elements from a parallel sequence as long as a specified condition is true.
TakeWhile<(Of <(TSource>)>)(ParallelQuery<(Of <(TSource>)>), Func<(Of <(TSource, Int32, Boolean>)>))
Returns elements from a parallel sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function.

See Also