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.
System.Data::EnumerableRowCollection
System.Data::EnumerableRowCollection<TRow>
System.Data::OrderedEnumerableRowCollection<TRow>
Assembly: System.Data.DataSetExtensions (in System.Data.DataSetExtensions.dll)
The OrderedEnumerableRowCollection<TRow> type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator | Returns an enumerator for the collection of contained row objects. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from EnumerableRowCollection<TRow>.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | Cast<TResult> | Converts the elements of an EnumerableRowCollection to the specified type. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Defined by EnumerableRowCollectionExtensions.) |
![]() | OrderBy<TRow, TKey>(Func<TRow, TKey>) | Overloaded. Sorts the rows of a EnumerableRowCollection in ascending order according to the specified key. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Defined by EnumerableRowCollectionExtensions.) |
![]() | OrderBy<TRow, TKey>(Func<TRow, TKey>, IComparer<TKey>) | Overloaded. Sorts the rows of a EnumerableRowCollection in ascending order according to the specified key and comparer. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Defined by EnumerableRowCollectionExtensions.) |
![]() | OrderByDescending<TRow, TKey>(Func<TRow, TKey>) | Overloaded. Sorts the rows of a EnumerableRowCollection in descending order according to the specified key. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Defined by EnumerableRowCollectionExtensions.) |
![]() | OrderByDescending<TRow, TKey>(Func<TRow, TKey>, IComparer<TKey>) | Overloaded. Sorts the rows of a EnumerableRowCollection in descending order according to the specified key and comparer. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Defined by EnumerableRowCollectionExtensions.) |
![]() | Select<TRow, S> | Projects each element of an EnumerableRowCollection<TRow> into a new form. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Defined by EnumerableRowCollectionExtensions.) |
![]() | ThenBy<TRow, TKey>(Func<TRow, TKey>) | Overloaded. Performs a secondary ordering of the rows of a EnumerableRowCollection in ascending order according to the specified key. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Defined by EnumerableRowCollectionExtensions.) |
![]() | ThenBy<TRow, TKey>(Func<TRow, TKey>, IComparer<TKey>) | Overloaded. Performs a secondary ordering of the rows of a EnumerableRowCollection in ascending order according to the specified key and comparer. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Defined by EnumerableRowCollectionExtensions.) |
![]() | ThenByDescending<TRow, TKey>(Func<TRow, TKey>) | Overloaded. Performs a secondary ordering of the rows of a EnumerableRowCollection in descending order according to the specified key. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Defined by EnumerableRowCollectionExtensions.) |
![]() | ThenByDescending<TRow, TKey>(Func<TRow, TKey>, IComparer<TKey>) | Overloaded. Performs a secondary ordering of the rows of a EnumerableRowCollection in descending order according to the specified key and comparer. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Defined by EnumerableRowCollectionExtensions.) |
![]() | Where<TRow> | Filters a sequence of rows based on the specified predicate. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Defined by EnumerableRowCollectionExtensions.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable::GetEnumerator | Returns an enumerator for the collection of DataRow objects. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from EnumerableRowCollection<TRow>.) |
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
