IBindingList.ApplySort(PropertyDescriptor, ListSortDirection) 메서드

정의

PropertyDescriptorListSortDirection에 따라 목록을 정렬합니다.

public:
 void ApplySort(System::ComponentModel::PropertyDescriptor ^ property, System::ComponentModel::ListSortDirection direction);
public void ApplySort (System.ComponentModel.PropertyDescriptor property, System.ComponentModel.ListSortDirection direction);
abstract member ApplySort : System.ComponentModel.PropertyDescriptor * System.ComponentModel.ListSortDirection -> unit
Public Sub ApplySort (property As PropertyDescriptor, direction As ListSortDirection)

매개 변수

property
PropertyDescriptor

정렬에 사용할 PropertyDescriptor입니다.

direction
ListSortDirection

ListSortDirection 값 중 하나입니다.

예외

설명

항목이 추가되거나 제거되면 이러한 항목은 정렬 순서대로 배치됩니다.

이 메서드는 가 이면 SupportsSorting 지원됩니다. 그렇지 않으면 이 메서드는 을 NotSupportedExceptionthrowtrue합니다.

구현자 참고

이 메서드의 구현은 열거형을 사용하여 ListChangedReset 이벤트를 발생시켜야 합니다.

적용 대상