SortDescription 結構
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義的方向和屬性名稱,作為排序集合的準則。
public value class SortDescription
C#
public struct SortDescription
type SortDescription = struct
Public Structure SortDescription
- 繼承
Sort |
初始化 SortDescription 結構的新執行個體。 |
Direction |
取得或設定值,指出是否要以遞增或遞減順序排序。 |
Is |
取得值,指出這個物件的狀態是否不可變。 |
Property |
取得或設定作為排序準則使用的屬性名稱。 |
Equals(Object) |
比較指定執行個體與目前 SortDescription 執行個體的值是否相等。 |
Get |
傳回這個 SortDescription 執行個體的雜湊碼。 |
Equality(Sort |
比較兩個 SortDescription 物件的值是否相等。 |
Inequality(Sort |
比較兩個 SortDescription 物件的值是否不相等。 |
產品 | 版本 |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |