C# Class BExplorer.Shell.ShellSearchFolder

Create and modify search folders.
Inheritance: ShellItem
Show file Open project: Gainedge/BetterExplorer Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
SetDisplayName ( string displayName ) : void

Sets the search folder display name.

SetFolderLogicalViewMode ( FolderLogicalViewMode mode ) : void

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

SetFolderTypeID ( System.Guid value ) : void

Sets a search folder type ID, as specified.

SetIconSize ( int value ) : void

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

SetStacks ( ) : void

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

SetVisibleColumns ( PROPERTYKEY value ) : void

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

This property may not work correctly with the ExplorerBrowser control.

ShellSearchFolder ( SearchCondition searchCondition ) : System

Create a simple search folder. Once the appropriate parameters are set, the search folder can be enumerated to get the search results.

Method Details

SetDisplayName() public method

Sets the search folder display name.
public SetDisplayName ( string displayName ) : void
displayName string
return void

SetFolderLogicalViewMode() public method

Sets folder logical view mode. The default settings are based on the FolderTypeID which is set by the SearchFolder::SetFolderTypeID method.
public SetFolderLogicalViewMode ( FolderLogicalViewMode mode ) : void
mode FolderLogicalViewMode The logical view mode to set.
return void

SetFolderTypeID() public method

Sets a search folder type ID, as specified.
public SetFolderTypeID ( System.Guid value ) : void
value System.Guid
return void

SetIconSize() public method

Sets the search folder icon size. The default settings are based on the FolderTypeID which is set by the SearchFolder::SetFolderTypeID method.
public SetIconSize ( int value ) : void
value int
return void

SetStacks() public method

Creates a list of stack keys, as specified. If this method is not called, by default the folder will not be stacked.
If one of the given canonical names is invalid.
public SetStacks ( ) : void
return void

SetVisibleColumns() public method

Creates a new column list whose columns are all visible, given an array of PropertyKey structures. The default is based on FolderTypeID.
This property may not work correctly with the ExplorerBrowser control.
public SetVisibleColumns ( PROPERTYKEY value ) : void
value BExplorer.Shell.Interop.PROPERTYKEY
return void

ShellSearchFolder() public method

Create a simple search folder. Once the appropriate parameters are set, the search folder can be enumerated to get the search results.
public ShellSearchFolder ( SearchCondition searchCondition ) : System
searchCondition SearchCondition Specific condition on which to perform the search (property and expected value)
return System