XQuerySettings.OrderingMode PropertyXQuerySettings.OrderingMode PropertyXQuerySettings::OrderingMode Property

Gets or sets the ordering mode.

Syntax

Public Property OrderingMode As OrderingMode
        Get
        Set(ByVal value As OrderingMode)
public OrderingMode OrderingMode { get; set; }
public:
property OrderingMode OrderingMode {
    OrderingMode get();
    void set(OrderingMode value);
}
 

Property Value

Type: XmlPrime.OrderingModeXmlPrime.OrderingModeXmlPrime::OrderingMode

One of the OrderingModeOrderingModeOrderingMode values.

Remarks

The ordering mode controls the ordering of the result sequence returned by certain path expressions, union, intersect, and except expressions, and FLWOR expressions that have no order by clause.

The setting can be overridden with a declare ordering declaration in the query, and can be overridden locally with the fn:ordered and fn:unordered functions.

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