Share via


Observable.TakeWhile Method

Include Protected Members
Include Inherited Members

Returns values from an observable sequence.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member TakeWhile<TSource>(IObservable<TSource>, Func<TSource, Boolean>) Returns values from an observable sequence as long as a specified condition is true, and then skips the remaining values.
Public methodStatic member TakeWhile<TSource>(IObservable<TSource>, Func<TSource, Int32, Boolean>) Returns values from an observable sequence as long as a specified condition is true, and then skips the remaining values.

Top

See Also

Reference

Observable Class

System.Reactive.Linq Namespace