IFolderView2::GetGroupBy method
Retrieves the property and sort order used for grouping items in the folder display.
Syntax
HRESULT GetGroupBy( [out] PROPERTYKEY *pkey, [out] BOOL *pfAscending );
Parameters
- pkey [out]
-
Type: PROPERTYKEY*
A pointer to the PROPERTYKEY by which the view is grouped.
- pfAscending [out]
-
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
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: