Click or drag to resize
CollectionExtensionsTakeFromT Method (IEnumerableT, FuncT, Boolean)
Bypasses elements from a sequence as long as a specified condition is false and then returns the element that satisfies the condition and the elements after.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView (in Telerik.Windows.Controls.ScheduleView.dll) Version: 2018.1.220.40 (2018.1.220.40)
public static IEnumerable<T> TakeFrom<T>(
	this IEnumerable<T> target,
	Func<T, bool> predicate


Type: System.Collections.GenericIEnumerableT
A sequence to return elements from.
Type: SystemFuncT, Boolean
A function to test each element for a condition.

Type Parameters

The type of the elements.

Return Value

Type: IEnumerableT
An System.Collections.Generic.IEnumerable(T) that contains the elements from the input sequence starting at the last element in the linear series that does not pass the test specified by predicate.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also