QueryOptions.GroupPropertyName Property

Definition

Gets the name of the property used to group query results if the QueryOptions object was created using a CommonFolderQuery. For example, if CommonFolderQuery.GroupByYear is used to create a QueryOptions object, the value of this property is System.ItemDate.

public:
 property Platform::String ^ GroupPropertyName { Platform::String ^ get(); };
winrt::hstring GroupPropertyName();
public string GroupPropertyName { get; }
var string = queryOptions.groupPropertyName;
Public ReadOnly Property GroupPropertyName As String

Property Value

String

Platform::String

winrt::hstring

The property that is being used to group files and that is specified by the CommonFolderQuery enumeration.

Applies to

See also