SortOrder Enumeration

 

Specifies how items in a list are sorted.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum SortOrder

Member nameDescription
Ascending

The items are sorted in ascending order.

Descending

The items are sorted in descending order.

None

The items are not sorted.

Use the members of this enumeration to set the value of the Sorting property of the ListView control.

.NET Framework
Available since 1.1
Return to top
Show: