1MAIL::FOLDER::ISPARENTOFm(a3ixl)::folder Native API refeMrAeInLc:e:FOLDER::ISPARENTOF(3x)
2
3
4
6 mail::folder::isParentOf - Check if another folder is this folder's
7 subfolder
8
10 #include <libmail/mail.H>
11
12 mail::folder *folder;
13 mail::folder *otherFolder;
14
15
16
17 bool flag=folder->isParentOf (otherFolder->getPath());
18
20 This function returns an indication whether a folder's path (returned
21 by mail::folder::getPath(3x)) refers to a subfolder of this folder.
22
24 The function returns true if the specified path refers to a subfolder
25 of this folder.
26
27 Note: true is returned even if the path does not refer to a
28 direct subfolder (a path referring to a subfolder of a subfolder
29 will still result in a true return).
30
32 mail::folder::getPath(3x).
33
34
35
36 10 April 2006 MAIL::FOLDER::ISPARENTOF(3x)