This documentation is archived and is not being maintained.

OrderedEnumerableRowCollection<TRow> Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. Represents a collection of ordered DataRow objects returned from a query.

Namespace:  System.Data
Assembly:  System.Data.DataSetExtensions (in System.Data.DataSetExtensions.dll)

generic<typename TRow>
public ref class OrderedEnumerableRowCollection sealed : public EnumerableRowCollection<TRow>

Type Parameters


The type of objects in the source sequence, typically DataRow.

OrderedEnumerableRowCollection<TRow> is used to contain the results of a LINQ to DataSet query that returns an ordered sequence of rows. This EnumerableRowCollection<TRow> maintains a state of call LINQ operators for the originating query, and this state is used to construct the predicate and sorting expressions for any subsequent DataView.

An OrderedEnumerableRowCollection<TRow> cannot be directly instantiated because there are no public constructors for this class.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5

.NET Compact Framework

Supported in: 3.5