Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ISearchFolderItemFactory interface

Exposes methods that create and modify search folders. The Set methods are called first to set up the parameters of the search. When not called, default values will be used instead. ISearchFolderItemFactory::GetIDList and ISearchFolderItemFactory::GetShellItem return the two forms of the search specified by these parameters.

Members

The ISearchFolderItemFactory interface inherits from the IUnknown interface. ISearchFolderItemFactory also has these types of members:

Methods

The ISearchFolderItemFactory interface has these methods.

MethodDescription
GetIDList

Gets the search folder as an ITEMIDLIST.

GetShellItem

Gets the search folder as a IShellItem.

SetCondition

Sets the ICondition of the search. When this method is not called, the resulting search will have no filters applied.

SetDisplayName

Sets the search folder display name, as specified.

SetFolderLogicalViewMode

Sets folder logical view mode. The default settings are based on the FolderTypeID which is set by the ISearchFolderItemFactory::SetFolderTypeID method.

SetFolderTypeID

Sets a search folder type ID, as specified.

SetGroupColumn

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

SetIconSize

Sets the search folder icon size, as specified. The default settings are based on the FolderTypeID which is set by the ISearchFolderItemFactory::SetFolderTypeID method.

SetScope

Sets search scope, as specified.

SetSortColumns

Creates a list of sort column directions, as specified.

SetStacks

Creates a list of stack keys, as specified. If this method is not called, by default the folder will not be stacked.

SetVisibleColumns

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

 

Remarks

To implement this interface use class ID CLSID_SearchFolderItemFactory.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2015 Microsoft