EmptyOrder EnumerationEmptyOrder EnumerationEmptyOrder Enumeration

Specifies the ordering of empty-sequence values.

Syntax

Public Enumeration EmptyOrder
public enum EmptyOrder
public:
enum EmptyOrder
 
The EmptyOrderEmptyOrderEmptyOrder type exposes the following members.

Members

 MemberDescription
MemberGreatestGreatestGreatest The empty sequence is considered greater than any single value, and NaN is considered greater than any other value.
MemberLeastLeastLeast The empty sequence is considered less than any single value, and NaN is considered less than any other value.

Top

Remarks

The empty order policy controls the processing of empty sequences and NaN values as ordering keys in an order by clause in a FLWOR expression.

Use the DefaultEmptyOrderDefaultEmptyOrderDefaultEmptyOrder property to set the default order for empty sequences.