TypedTableBaseExtensions.Where<TRow> Yöntem
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen koşula göre bir satır dizisini filtreler.
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
içindeki satır öğelerinin source
DataRowtürü.
- source
- TypedTableBase<TRow>
TypedTableBase<T> Filtre uygulanacak öğeleri içeren DataRow bir.
OrderedEnumerableRowCollection<TRow> Koşulu karşılayan giriş dizisinden satırlar içeren.
Ürün | Sürümler |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.1 |
.NET geri bildirimi
.NET, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: