ISearchFolderItemFactory::SetGroupColumn method (shobjidl_core.h)

Sets a group column, as specified. If no group column is specified, no grouping occurs.

Syntax

HRESULT SetGroupColumn(
  [in] REFPROPERTYKEY keyGroup
);

Parameters

[in] keyGroup

Type: REFPROPERTYKEY

A reference to a group column PROPERTYKEY.

Return value

Type: HRESULT

Returns a success value if successful, or an error value otherwise.

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)