SortOrder Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies how rows of data are sorted.
For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient.
public enum class SortOrder
public enum SortOrder
type SortOrder =
Public Enum SortOrder
- Inheritance
Fields
| Name | Value | Description |
|---|---|---|
| Unspecified | -1 | The default. No sort order is specified. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
| Ascending | 0 | Rows are sorted in ascending order. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |
| Descending | 1 | Rows are sorted in descending order. For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient. |