Export (0) Print
Expand All
Expand Minimize

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
AscendingThe items are sorted in ascending order.
DescendingThe items are sorted in descending order.
NoneThe items are not sorted.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft