ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamItemIdList.TItemIdListHelper.TryHasSubFolders

Asynchronously determines if the ItemIdList has subfolders.

Syntax
Pascal
class function TryHasSubFolders(const pItemIdList: IItemIdList; const pStopAfter: integer; const pFileSystemOnly: Boolean; var pFinished: Boolean; const pCancellationIndicator: ICancellationIndicator = nil): Boolean;
Parameters 
Description 
const pItemIdList: IItemIdList 
The ItemIdList 
const pStopAfter: integer 
Max time (in ms) to accomplish the operation. 
const pFileSystemOnly: Boolean 
Regard file system only or virtual elements as well. 
var pFinished: Boolean 
True, if the operation was finished in the given time; false otherwise 
const pCancellationIndicator: ICancellationIndicator = nil 
An optional cancellation indicator for the workitem. 

boolean: true, if the operation was finished in time and the passed element has subfolders, else if not.