WhereOperatorSelectionMode WhereOperatorSelectionMode WhereOperatorSelectionMode Enum

Definition

Controls the matching behaviour of the Where() operator.

public enum WhereOperatorSelectionMode
type WhereOperatorSelectionMode = 
Public Enum WhereOperatorSelectionMode
Inheritance
WhereOperatorSelectionModeWhereOperatorSelectionModeWhereOperatorSelectionMode

Fields

Default Default Default

Return all matches

First First First

Stop processing after the first match.

Last Last Last

Return the last matching element

SkipUntil SkipUntil SkipUntil

Skip until the condition is true, then return the rest

Split Split Split

Return an array of two elements, first index is matched elements, second index is the remaining elements.

Until Until Until

Return elements until the condition is true then skip the rest