MergeWith
FolderInfo.MergeWith method (1 of 2)
Merges the folder with the folder from another pst.
public void MergeWith(FolderInfo sourceFolder)
Parameter |
Type |
Description |
sourceFolder |
FolderInfo |
The source folder. |
Exceptions
exception |
condition |
InvalidOperationException |
Throws when the source folder is located in the same pst. |
See Also
FolderInfo.MergeWith method (2 of 2)
Merges the folder with the folder from another pst. OnItemMoved event is called on both messages and directories.
public void MergeWith(FolderInfo sourceFolder, bool recursiveHandler)
Parameter |
Type |
Description |
sourceFolder |
FolderInfo |
The source folder. |
recursiveHandler |
Boolean |
If true, OnItemMoved will be called on all messages, including messages in sub-directories, otherwise OnItemMoved will be called only for messages in the current directory. |
Exceptions
exception |
condition |
InvalidOperationException |
Throws when the source folder is located in the same pst. |
See Also