Returns True if the given ItemIdList is an immediate child of the search folder or the search folder itself.
function IsInSearchFolder(const pItemIdList: IItemIdList; const pTrueIfSearchFolder: Boolean = true): Boolean;
Parameters |
Description |
const pItemIdList: IItemIdList |
The ItemIdList that should be checked. |
const pTrueIfSearchFolder: Boolean = true |
True if the tested ItemIdList is the SearchFolder itself. |
True if the given ItemIdList is in or is the SearchFolder.