TypedTableBaseExtensions.OrderByDescending TypedTableBaseExtensions.OrderByDescending TypedTableBaseExtensions.OrderByDescending TypedTableBaseExtensions.OrderByDescending Method

Definizione

Ordina in senso decrescente le righe di un oggetto TypedTableBase<T>.Sorts the rows of a TypedTableBase<T> in descending order.

Overload

OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>) OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>) OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>) OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>)

Ordina in senso decrescente le righe di un oggetto TypedTableBase<T> secondo la chiave specificata.Sorts the rows of a TypedTableBase<T> in descending order according to the specified key.

OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>, IComparer<TKey>) OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>, IComparer<TKey>) OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>, IComparer<TKey>) OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>, IComparer<TKey>)

Ordina in senso decrescente le righe di un oggetto TypedTableBase<T> secondo la chiave e l'operatore di confronto specificati.Sorts the rows of a TypedTableBase<T> in descending order according to the specified key and comparer.

OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>) OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>) OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>) OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>)

Ordina in senso decrescente le righe di un oggetto TypedTableBase<T> secondo la chiave specificata.Sorts the rows of a TypedTableBase<T> in descending order according to the specified key.

public:
generic <typename TRow, typename TKey>
 where TRow : System::Data::DataRow[System::Runtime::CompilerServices::Extension]
 static System::Data::OrderedEnumerableRowCollection<TRow> ^ OrderByDescending(System::Data::TypedTableBase<TRow> ^ source, Func<TRow, TKey> ^ keySelector);
public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow,TKey> (this System.Data.TypedTableBase<TRow> source, Func<TRow,TKey> keySelector) where TRow : System.Data.DataRow;
static member OrderByDescending : System.Data.TypedTableBase<'Row (requires 'Row :> System.Data.DataRow)> * Func<'Row, 'Key (requires 'Row :> System.Data.DataRow)> -> System.Data.OrderedEnumerableRowCollection<'Row (requires 'Row :> System.Data.DataRow)> (requires 'Row :> System.Data.DataRow)
<Extension()>
Public Function OrderByDescending(Of TRow As DataRow, TKey As DataRow) (source As TypedTableBase(Of TRow), keySelector As Func(Of TRow, TKey)) As OrderedEnumerableRowCollection(Of TRow)

Parametri di tipo

TRow

Tipo degli elementi riga in source, in genere DataRow.The type of the row elements in source, typically DataRow.

TKey

Tipo della chiave restituita dall'oggetto keySelector.The type of the key returned by keySelector.

Parametri

source
TypedTableBase<TRow>

Oggetto TypedTableBase<T> che contiene gli elementi DataRow da ordinare.A TypedTableBase<T> that contains the DataRow elements to be ordered.

keySelector
Func<TRow,TKey>

Funzione per estrarre una chiave da un elemento.A function to extract a key from an element.

Restituisce

OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>, IComparer<TKey>) OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>, IComparer<TKey>) OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>, IComparer<TKey>) OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>, IComparer<TKey>)

Ordina in senso decrescente le righe di un oggetto TypedTableBase<T> secondo la chiave e l'operatore di confronto specificati.Sorts the rows of a TypedTableBase<T> in descending order according to the specified key and comparer.

public:
generic <typename TRow, typename TKey>
 where TRow : System::Data::DataRow[System::Runtime::CompilerServices::Extension]
 static System::Data::OrderedEnumerableRowCollection<TRow> ^ OrderByDescending(System::Data::TypedTableBase<TRow> ^ source, Func<TRow, TKey> ^ keySelector, System::Collections::Generic::IComparer<TKey> ^ comparer);
public static System.Data.OrderedEnumerableRowCollection<TRow> OrderByDescending<TRow,TKey> (this System.Data.TypedTableBase<TRow> source, Func<TRow,TKey> keySelector, System.Collections.Generic.IComparer<TKey> comparer) where TRow : System.Data.DataRow;
static member OrderByDescending : System.Data.TypedTableBase<'Row (requires 'Row :> System.Data.DataRow)> * Func<'Row, 'Key (requires 'Row :> System.Data.DataRow)> * System.Collections.Generic.IComparer<'Key> -> System.Data.OrderedEnumerableRowCollection<'Row (requires 'Row :> System.Data.DataRow)> (requires 'Row :> System.Data.DataRow)
<Extension()>
Public Function OrderByDescending(Of TRow As DataRow, TKey As DataRow) (source As TypedTableBase(Of TRow), keySelector As Func(Of TRow, TKey), comparer As IComparer(Of TKey)) As OrderedEnumerableRowCollection(Of TRow)

Parametri di tipo

TRow

Tipo degli elementi riga in source, in genere DataRow.The type of the row elements in source, typically DataRow.

TKey

Tipo della chiave restituita dall'oggetto keySelector.The type of the key returned by keySelector.

Parametri

source
TypedTableBase<TRow>

Oggetto TypedTableBase<T> che contiene gli elementi DataRow da ordinare.A TypedTableBase<T> that contains the DataRow elements to be ordered.

keySelector
Func<TRow,TKey>

Funzione per estrarre una chiave da un elemento.A function to extract a key from an element.

comparer
IComparer<TKey>

Oggetto IComparer<T> per confrontare le chiavi.An IComparer<T> to compare keys.

Restituisce

Oggetto OrderedEnumerableRowCollection<TRow> i cui elementi vengono ordinati secondo la chiave e l'operatore di confronto specificati.An OrderedEnumerableRowCollection<TRow> whose elements are sorted by the specified key and comparer.

Si applica a