.NET Framework Class Library
Enumerable..::.TakeWhile Method

Returns elements from a sequence as long as a specified condition is true, and then skips the remaining elements.

Overload List

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkTakeWhile<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Boolean>)>))Returns elements from a sequence as long as a specified condition is true.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkTakeWhile<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Int32, Boolean>)>))Returns elements from a sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function.
Top
See Also

Reference

Tags :


Page view tracker