ISearchFolderItemFactory::SetVisibleColumns method

Creates a new column list whose columns are all visible, given an array of PROPERTYKEY structures. The default is based on FolderTypeID.

Syntax

HRESULT SetVisibleColumns(
  UINT              cVisibleColumns,
  const PROPERTYKEY *rgKey
);

Parameters

cVisibleColumns

Type: UINT

The number of array elements.

rgKey

Type: const PROPERTYKEY*

A pointer to an array of PROPERTYKEY structures.

Return Value

Type: HRESULT

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

Requirements

   
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)