System.Windows.Forms.SortOrder Enumeration

Specifies how items in a list are sorted.

Syntax

public enum SortOrder

Remarks

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

Members

Member NameDescription
Ascending

The items are sorted in ascending order.

Descending

The items are sorted in descending order.

None

The items are not sorted.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0