SortDescription 構造体
定義
コレクションの並べ替えの基準として使用する方向とプロパティ名を定義します。Defines the direction and the property name to be used as the criteria for sorting a collection.
public value class SortDescription
public struct SortDescription
type SortDescription = struct
Public Structure SortDescription
- 継承
コンストラクター
SortDescription(String, ListSortDirection) |
SortDescription 構造体の新しいインスタンスを初期化します。Initializes a new instance of the SortDescription structure. |
プロパティ
Direction |
昇順または降順のどちらで並べ替えるかを示す値を取得または設定します。Gets or sets a value that indicates whether to sort in ascending or descending order. |
IsSealed |
このオブジェクトが変更できない状態にあるかどうかを示す値を取得します。Gets a value that indicates whether this object is in an immutable state. |
PropertyName |
並べ替えの基準として使用されるプロパティ名を取得または設定します。Gets or sets the property name being used as the sorting criteria. |
メソッド
Equals(Object) |
指定したインスタンスと SortDescription の現在のインスタンスを比較し、値が等しいかどうかを確認します。Compares the specified instance and the current instance of SortDescription for value equality. |
GetHashCode() |
SortDescription のこのインスタンスのハッシュ コードを返します。Returns the hash code for this instance of SortDescription. |
演算子
Equality(SortDescription, SortDescription) |
2 つの SortDescription オブジェクトの値が等しいかどうかを比較します。Compares two SortDescription objects for value equality. |
Inequality(SortDescription, SortDescription) |
2 つの SortDescription オブジェクトが等しくないかどうかを比較します。Compares two SortDescription objects for value inequality. |