ListSortDescription Constructor (PropertyDescriptor, ListSortDirection)

 

Initializes a new instance of the ListSortDescription class with the specified property description and direction.

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

public ListSortDescription(
	PropertyDescriptor property,
	ListSortDirection direction
)

Parameters

property
Type: System.ComponentModel.PropertyDescriptor

The PropertyDescriptor that describes the property by which the data source is sorted.

direction
Type: System.ComponentModel.ListSortDirection

One of the ListSortDescription values.

.NET Framework
Available since 2.0
Return to top
Show: