ISearchFolderItemFactory::SetVisibleColumns method (shobjidl_core.h)

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(
  [in] UINT              cVisibleColumns,
  [in] const PROPERTYKEY *rgKey
);

Parameters

[in] cVisibleColumns

Type: UINT

The number of array elements.

[in] 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

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)