SortKey 類別

定義

SortKey 類別 (Class) 儲存排序準則用於排序控制項。

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 屬性 (Property) 指定做為排序索引鍵使用之屬性 (Attribute) 的名稱。

MatchingRule

MatchingRule 屬性指定相符排序規則的物件識別項 (OID)。

ReverseOrder

ReverseOrder 屬性指定是否應以反向順序傳回排序。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於