Share via


SortEntry Struct

Definition

An entry in the SortOrder list the specifies a property and ordering that is used to sort query results.

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct SortEntry
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct SortEntry
var sortEntry = {
propertyName : /* Your value */,
ascendingOrder : /* Your value */
}
Public Structure SortEntry
Inheritance
SortEntry
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

AscendingOrder

True to sort content in the query results in ascending order based on the property name, or false to sort content in descending order.

PropertyName

The name of the property to use for sorting, like System.Author. The property must be registered on the system.

For more information, see the Windows Property System.

Applies to

See also