QueryBuilder.SortByNullable < t, "Q" klucz > Metoda (F#)
Operator kwerendy Sortuje elementy wybrane dotychczas w kolejności rosną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.SortByNullable : 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.SortByNullable (source, keySelector)
Parametry
source
Typ: Źródło kwerendy<'T,'Q >Kwerenda wejściowego.
keySelector
Typ: t - > Nullable<T>< "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