DateStackOption DateStackOption DateStackOption DateStackOption 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
enum class winrt::Windows::Storage::Search::DateStackOption : int32_t
public enum DateStackOption
Public Enum DateStackOption
var value = Windows.Storage.Search.DateStackOption.month;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Month Month Month Month Month 2

The content is grouped by month.

None None None None None 0

The query options are not based on the date.

Year Year Year Year Year 1

The content is grouped by year.

Remarks

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