Dibaca dalam bahasa Inggeris

Kongsi melalui


SortOrder Enum

Definition

Specifies how rows of data are sorted.

C#
public enum SortOrder
Inheritance
SortOrder

Fields

Name Value Description
Unspecified -1

The default. No sort order is specified.

Ascending 0

Rows are sorted in ascending order.

Descending 1

Rows are sorted in descending order.

Applies to

Produk Versi
SqlClient .NET Core 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Framework 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Standard 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2