语言

SortKey 类

定义

类 SortKey 存储排序条件以供排序控件使用。

public ref class SortKey
public class SortKey
type SortKey = class
Public Class SortKey
继承
SortKey

构造函数

名称 说明
SortKey()

构造 SortKey() 函数创建并初始化类的新实例 SortKey 。

SortKey(String, String, Boolean)

构造 SortKey(String, String, Boolean) 函数使用指定的属性名称、匹配规则和排序顺序创建和初始化类的新实例 SortKey 。

属性

名称 说明
AttributeName

该 AttributeName 属性指定要用作排序键的属性的名称。

MatchingRule

该 MatchingRule 属性指定排序匹配规则的对象标识符(OID)。

ReverseOrder

该 ReverseOrder 属性指定是否应按相反顺序返回排序。

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type。

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于