SortDescription.PropertyName プロパティ

定義

並べ替えの基準として使用されるプロパティ名を取得または設定します。

public:
 property System::String ^ PropertyName { System::String ^ get(); void set(System::String ^ value); };
public string PropertyName { get; set; }
member this.PropertyName : string with get, set
Public Property PropertyName As String

プロパティ値

既定値は、null です。

注釈

このプロパティは、基になるコレクション内の項目のパブリック プロパティである必要があります。

文字列は、並べ替えに関連する特定 ICollectionView のオブジェクトによって解釈されます。 BindingListCollectionView では、単純な列名のみがサポートされます。 ListCollectionView では、XML データの一般的なプロパティ パスと XPath がサポートされています。 したがって、ビューがオブジェクトの ListCollectionView 場合は、それらのノードの属性に基づいて 内 XmlDataProvider の XML ノードを並べ替えることができます。 たとえば、属性名が の場合は Cost、 の "@Cost" を PropertyName 指定します SortDescription

適用対象