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 는 일반 속성 경로 및 XPath XML 데이터를 지원합니다. 따라서 뷰가 개체인 ListCollectionView 경우 해당 노드 XmlDataProvider 의 특성에 따라 에서 XML 노드를 정렬할 수 있습니다. 예를 들어 특성 이름이 Cost인 경우 의 에 대해 "@Cost"을 PropertyNameSortDescription지정합니다.

적용 대상