Export (0) Print
Expand All

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::Object
  System.Data::EnumerableRowCollection
    System.Data::EnumerableRowCollection<TRow>
      System.Data::OrderedEnumerableRowCollection<TRow>

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

TRow

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

The OrderedEnumerableRowCollection<TRow> type exposes the following members.

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetEnumeratorReturns 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>.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public Extension MethodCast<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.)
Public Extension MethodOrderBy<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.)
Public Extension MethodOrderBy<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.)
Public Extension MethodOrderByDescending<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.)
Public Extension MethodOrderByDescending<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.)
Public Extension MethodSelect<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.)
Public Extension MethodThenBy<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.)
Public Extension MethodThenBy<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.)
Public Extension MethodThenByDescending<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.)
Public Extension MethodThenByDescending<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.)
Public Extension MethodWhere<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.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable::GetEnumeratorReturns 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>.)
Top

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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft