Op Englesch liesen Editéieren

Deelen iwwer


TypedTableBaseExtensions.AsEnumerable<TRow> Method

Definition

Enumerates the data row elements of the TypedTableBase<T> and returns an EnumerableRowCollection<TRow> object, where the generic parameter T is DataRow. This object can be used in a LINQ expression or method query.

C#
public static System.Data.EnumerableRowCollection<TRow> AsEnumerable<TRow>(this System.Data.TypedTableBase<TRow> source) where TRow : System.Data.DataRow;

Type Parameters

TRow

The type to convert the elements of the source to.

Parameters

source
TypedTableBase<TRow>

The source TypedTableBase<T> to make enumerable.

Returns

An EnumerableRowCollection<TRow> object, where the generic parameter T is DataRow.

Applies to

Produkt Versiounen
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.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.0 (package-provided), 2.1