DateStackOption Enum

Definition

Indicates the unit of time used to group files into folders if a CommonFolderQuery based on date is used to create a QueryOptions object.

public enum class DateStackOption
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class DateStackOption
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum DateStackOption
var value = Windows.Storage.Search.DateStackOption.none
Public Enum DateStackOption
Inheritance
DateStackOption
Attributes

Windows requirements

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

Fields

Name Value Description
None 0

The query options are not based on the date.

Year 1

The content is grouped by year.

Month 2

The content is grouped by month.

Remarks

For example, if you create a QueryOptions object using CommonFolderQuery.GroupByYear the DateStackOption property will contain the DateStackOption.Year value.

Applies to