TypedTableBaseExtensions.Where<TRow> 메서드

정의

지정된 조건자를 기반으로 행 시퀀스를 필터링합니다.

public:
generic <typename TRow>
 where TRow : System::Data::DataRow[System::Runtime::CompilerServices::Extension]
 static System::Data::EnumerableRowCollection<TRow> ^ Where(System::Data::TypedTableBase<TRow> ^ source, Func<TRow, bool> ^ predicate);
public static System.Data.EnumerableRowCollection<TRow> Where<TRow>(this System.Data.TypedTableBase<TRow> source, Func<TRow,bool> predicate) where TRow : System.Data.DataRow;
static member Where : System.Data.TypedTableBase<'Row (requires 'Row :> System.Data.DataRow)> * Func<'Row, bool (requires 'Row :> System.Data.DataRow)> -> System.Data.EnumerableRowCollection<'Row (requires 'Row :> System.Data.DataRow)> (requires 'Row :> System.Data.DataRow)
<Extension()>
Public Function Where(Of TRow As DataRow) (source As TypedTableBase(Of TRow), predicate As Func(Of TRow, Boolean)) As EnumerableRowCollection(Of TRow)

형식 매개 변수

TRow

에 있는 sourceDataRow행 요소의 형식입니다.

매개 변수

source
TypedTableBase<TRow>

필터링할 요소가 들어 DataRow 있는 A TypedTableBase<T> 입니다.

predicate
Func<TRow,Boolean>

조건에 대한 각 요소를 테스트하는 함수입니다.

반품

OrderedEnumerableRowCollection<TRow> 조건을 충족하는 입력 시퀀스의 행을 포함하는 값입니다.

적용 대상