SortEntry SortEntry SortEntry SortEntry Struct

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

Syntax

Declaration

public struct SortEntrypublic struct SortEntryPublic Structure SortEntrypublic struct SortEntry

Fields summary

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

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.

Fields

  • AscendingOrder
    AscendingOrder
    AscendingOrder
    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.

    public field bool AscendingOrderpublic field bool AscendingOrderPublic Field AscendingOrderpublic field bool AscendingOrder
  • PropertyName
    PropertyName
    PropertyName
    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.

    public field string PropertyNamepublic field string PropertyNamePublic Field PropertyNamepublic field string PropertyName

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Storage.Search.dll