TypedTableBaseExtensions::AsEnumerable<TRow> Method (TypedTableBase<TRow>^)
.NET Framework (current version)
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.
Assembly: System.Data.DataSetExtensions (in System.Data.DataSetExtensions.dll)
public: generic<typename TRow> where TRow : DataRow [ExtensionAttribute] static EnumerableRowCollection<TRow>^ AsEnumerable( TypedTableBase<TRow>^ source )
Parameters
- source
-
Type:
System.Data::TypedTableBase<TRow>^
The source TypedTableBase<T> to make enumerable.
Return Value
Type: System.Data::EnumerableRowCollection<TRow>^An EnumerableRowCollection<TRow> object, where the generic parameter T is DataRow.
Type Parameters
- TRow
The type to convert the elements of the source to.
.NET Framework
Available since 3.5
Available since 3.5
Show: