ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.ViewSettings.TJamShellColumnProvider.GetColumns

Retrieves shell columns of a specified folder.

Syntax
Pascal
function GetColumns(const pFolder: IItemIdList; pAll: Boolean): TArray<TShellColumnId>; overload;
Parameters 
Description 
const pFolder: IItemIdList 
The folder.  
pAll: Boolean 
If set to True all supported columns are returned. Otherwise only the default columns are returned.  

The shell columns.

Exceptions 
Description 
if IShellFolder2 is not supported and thus no columns can be retrieved.