Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

EnumerableRowCollectionExtensions Class

Contains the extension methods for the data row collection classes. This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

System.Object
  System.Data.EnumerableRowCollectionExtensions

Namespace:  System.Data
Assembly:  System.Data.DataSetExtensions (in System.Data.DataSetExtensions.dll)
public static class EnumerableRowCollectionExtensions

The EnumerableRowCollectionExtensions type exposes the following members.

  NameDescription
Public methodStatic memberCast<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.
Public methodStatic memberOrderBy<TRow, TKey>(EnumerableRowCollection<TRow>, Func<TRow, TKey>)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.
Public methodStatic memberOrderBy<TRow, TKey>(EnumerableRowCollection<TRow>, Func<TRow, TKey>, IComparer<TKey>)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.
Public methodStatic memberOrderByDescending<TRow, TKey>(EnumerableRowCollection<TRow>, Func<TRow, TKey>)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.
Public methodStatic memberOrderByDescending<TRow, TKey>(EnumerableRowCollection<TRow>, Func<TRow, TKey>, IComparer<TKey>)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.
Public methodStatic memberSelect<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.
Public methodStatic memberThenBy<TRow, TKey>(OrderedEnumerableRowCollection<TRow>, Func<TRow, TKey>)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.
Public methodStatic memberThenBy<TRow, TKey>(OrderedEnumerableRowCollection<TRow>, Func<TRow, TKey>, IComparer<TKey>)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.
Public methodStatic memberThenByDescending<TRow, TKey>(OrderedEnumerableRowCollection<TRow>, Func<TRow, TKey>)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.
Public methodStatic memberThenByDescending<TRow, TKey>(OrderedEnumerableRowCollection<TRow>, Func<TRow, TKey>, IComparer<TKey>)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.
Public methodStatic memberWhere<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.
Top

The EnumerableRowCollectionExtensions class contains static extension methods that define the Cast<TResult> method and standard query operations for the EnumerableRowCollection<TRow> and OrderedEnumerableRowCollection<TRow> classes.

This class cannot be inherited and cannot be instantiated.

.NET Framework

Supported in: 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.