BindingList<T>.ApplySortCore 메서드

정의

파생 클래스에서 재정의되면 항목을 정렬하고, 그렇지 않으면 NotSupportedException을 throw합니다.

protected:
 virtual void ApplySortCore(System::ComponentModel::PropertyDescriptor ^ prop, System::ComponentModel::ListSortDirection direction);
protected virtual void ApplySortCore (System.ComponentModel.PropertyDescriptor prop, System.ComponentModel.ListSortDirection direction);
abstract member ApplySortCore : System.ComponentModel.PropertyDescriptor * System.ComponentModel.ListSortDirection -> unit
override this.ApplySortCore : System.ComponentModel.PropertyDescriptor * System.ComponentModel.ListSortDirection -> unit
Protected Overridable Sub ApplySortCore (prop As PropertyDescriptor, direction As ListSortDirection)

매개 변수

prop
PropertyDescriptor

정렬할 속성을 지정하는 PropertyDescriptor입니다.

direction
ListSortDirection

ListSortDirection 값 중 하나입니다.

예외

메서드가 파생 클래스에서 재정의되지 않은 경우

설명

클래스는 BindingList<T> 정렬의 기본 구현을 제공하지 않으므로 ApplySortCore 항상 기본적으로 을 NotSupportedException throw합니다. 정렬을 사용하도록 설정하려면 에서 BindingList<T> 파생하고 다음 작업을 수행합니다.

또한 추가 SortDirectionCoreSortPropertyCore 정렬 속성을 구현할 수도 있습니다.

적용 대상