IFolderView2::GetGroupBy method (shobjidl_core.h)
Retrieves the property and sort order used for grouping items in the folder display.
Syntax
HRESULT GetGroupBy(
[out] PROPERTYKEY *pkey,
[out] BOOL *pfAscending
);
Parameters
[out] pkey
Type: PROPERTYKEY*
A pointer to the PROPERTYKEY by which the view is grouped.
[out] pfAscending
Type: BOOL*
A pointer to a value of type BOOL that indicates sort order of the groups.
Return value
Type: HRESULT
This method can return one of these values.
Return code | Description |
---|---|
|
The view is grouped. |
|
The view is not grouped. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |