你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IMobileServiceTableQuery<T>.OrderBy<TKey> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的 ascending order 子句应用于源查询。
public Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<T> OrderBy<TKey> (System.Linq.Expressions.Expression<Func<T,TKey>> keySelector);
abstract member OrderBy : System.Linq.Expressions.Expression<Func<'T, 'Key>> -> Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'T>
Public Function OrderBy(Of TKey) (keySelector As Expression(Of Func(Of T, TKey))) As IMobileServiceTableQuery(Of T)
类型参数
- TKey
要按其排序的成员的类型。
参数
- keySelector
- Expression<Func<T,TKey>>
选择要按其排序的成员的表达式。
返回
已撰写查询。