SortOrder Enumeration

 
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.

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: