- Subject: How to get folder path from IMapiFolder
- Author: scb
- Date: 12 Aug 2009
- References:
Hi All,
I'm trying to get the full Outlook folder path when I have a reference
to an IMapiFolder object. I don't see any obvious properties that
will give it to me easily.
My current solution is to build the folder path by getting a reference
to the parent folder through PR_PARENT_ENTRYID, and travel up the
hierarchy, using PR_DISPLAY_NAME for each folder. I know I've hit the
root IMAPIFolder when the current Entry ID is equal to the parent
Entry ID.
Any other solutions out there?
Thanks in advance.