ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamItemIdList.TJamItemIdList.IsParentOf

Checks if the given ItemIdList is a child ItemIdList of the passed TJamShellFolder.

Syntax
Pascal
class function IsParentOf(const pParentFolder: TJamShellFolder; const pChildItemIdList: IItemIdList; const pAcceptsEquals: boolean = true): boolean; overload;
Parameters 
Description 
const pParentFolder: TJamShellFolder 
The parent folder to check.  
const pChildItemIdList: IItemIdList 
The ItemdIdList that should be compared. 
const pAcceptsEquals: boolean = true 
If true (default) then true will also be returned if the compared ItemIdList are the same. If false, the method only returns true if the passed ItemIdList is a child./>  

Boolean: True if the given ItemIdList is a child of the passed special folder; False otherwise.