OrderingMode EnumerationOrderingMode EnumerationOrderingMode Enumeration

Specifies the ordering mode of an XQuery module.

Syntax

Public Enumeration OrderingMode
public enum OrderingMode
public:
enum OrderingMode
 
The OrderingModeOrderingModeOrderingMode type exposes the following members.

Members

 MemberDescription
MemberOrderedOrderedOrdered Results are returned in document order.
MemberUnorderedUnorderedUnordered Results are returned in an arbitrary order.

Top

Remarks

The ordering mode affects the ordering of the result sequences returned by certain path expressions, FLWOR, union, intersect and except expressions.

Currently, the ordering mode is ignored by XmlPrime, and all affected expressions are evaluated with their results in document order.

Use the OrderingModeOrderingModeOrderingMode property to set the default ordering mode.