Udostępnij za pośrednictwem


WhereOperatorSelectionMode Enum

Definition

Controls the matching behaviour of the Where() operator.

public enum class WhereOperatorSelectionMode
public enum WhereOperatorSelectionMode
type WhereOperatorSelectionMode = 
Public Enum WhereOperatorSelectionMode
Inheritance
WhereOperatorSelectionMode

Fields

Name Value Description
Default 0

Return all matches.

First 1

Stop processing after the first match.

Last 2

Return the last matching element.

SkipUntil 3

Skip until the condition is true, then return the rest.

Until 4

Return elements until the condition is true then skip the rest.

Split 5

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

Applies to