QueryBuilder.SortByNullableDescending<'T,'Q,'Key> 方法 (F#)
到目前为止,查询运算符排序可以为 null 的给定排序键选取的元素。
Namespace/Module Path:Microsoft.FSharp.Linq
程序集:FSharp.Core(在 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)
参数
source
类型:QuerySource<'T,'Q>在查询。
keySelector
类型:'T -> Nullable<T><'Key>指定字段排序。
返回值
排序的查询。
备注
有关更多信息和示例,请参见 查询表达式(f#)。
平台
Windows 8,Windows 7,Windows server 2012中,Windows server 2008 R2
版本信息
F#核心库版本
支持:4.0,可移植