View Single Post
  #1  
Old March 25th 08, 03:01 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 3
Default Question about multiple instances of a MapiFolder object


I have designed a MapiFolder/Folders collection wrapper class to
detect any changes in the folder structure of outlook.

Now, when I rename a folder the FolderChange event fires, sending a
MapiFolder object which has got the already new folder name. So far so
good. But inside my wrapper class there still exists a MapiFolder
object belonging to the same folder. Querying the folder name of this
object retrieves the previous name of the folder!

Is that a normal behaviour? Why doesn't the name get updated? And: Is
it still possible to use the old MapiFolder object or is not only
"outdated" in respect of the name?
Ads