QueryBuilder.SortByNullableDescending<'T,'Q,'Key> — Metoda (F#)

Operator kwerendy Sortuje elementy wybrane dotychczas w kolejności malejącej przez dany klucz sortowania nullable.

Ścieżka obszaru nazw/modułu: Microsoft.FSharp.Linq

Zgromadzenie: FSharp.Core (w FSharp.Core.dll)

// Signature:
member this.SortByNullableDescending : QuerySource<'T,'Q> * ('T -> Nullable<'Key>) -> QuerySource<'T,'Q> when 'Key : (IComparable) and 'Key : (new : unit ->  'Key) and 'Key : struct and 'Key :> ValueType

// Usage:
queryBuilder.SortByNullableDescending (source, keySelector)

Parametry

  • source
    Typ: Źródło kwerendy<'T,'Q >

    Kwerenda wejściowego.

  • keySelector
    Typ: t - > Nullable< "klucz >

    Określa pole Sortuj według.

Zwracana wartość

Kwerendy posortowanej.

Uwagi

Aby uzyskać dodatkowe informacje i przykłady, zobacz Wyrażenia kwerendy (F#).

Platformy

Windows 8, Windows 7, Windows Server 2012 Windows Server 2008 R2

Informacje o wersji

F# Core wersji biblioteki

Obsługiwane: 4.0, przenośne

Zobacz też

Informacje

Linq.QueryBuilder — Klasa (F#)

Microsoft.FSharp.Linq — Przestrzeń nazw (F#)

Wyrażenia kwerendy (F#)