DataViewManager.IBindingList.ApplySort Method (PropertyDescriptor, ListSortDirection)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sorts the list based on a PropertyDescriptor and a ListSortDirection.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

void IBindingList.ApplySort(
	PropertyDescriptor property,
	ListSortDirection direction
)

Parameters

property
Type: System.ComponentModel.PropertyDescriptor

The PropertyDescriptor to sort by.

direction
Type: System.ComponentModel.ListSortDirection

One of the ListSortDirection values.

This member is an explicit interface member implementation. It can be used only when the DataViewManager instance is cast to an IBindingList interface.

.NET Framework
Available since 1.1
Return to top
Show: