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

Parameters

cVisibleColumns [in]

Type: UINT

The number of array elements.

rgKey [in]

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]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Show: