System.Xml.XPath.XmlSortOrder Enumeration

Specifies the sort order.

Syntax

public enum XmlSortOrder

Remarks

This is used to control the sorting of an XPathExpression.

Members

Member NameDescription
Ascending

Nodes are sorted in ascending order. For example, if the numbers 1,2,3, and 4 are sorted in ascending order, they appear as 1,2,3,4.

Descending

Nodes are sorted in descending order. For example, if the numbers 1,2,3, and 4 are sorted in descending order, they appear as, 4,3,2,1.

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0