Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IsSortableAttribute 类

定义

指示字段可以在 orderby 表达式中使用。 对字符串集合字段无效。

[System.AttributeUsage(System.AttributeTargets.Property)]
public class IsSortableAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type IsSortableAttribute = class
    inherit Attribute
Public Class IsSortableAttribute
Inherits Attribute
继承
IsSortableAttribute
属性

构造函数

IsSortableAttribute()

指示字段可以在 orderby 表达式中使用。 对字符串集合字段无效。

适用于