FolderInfo.MergeWith
MergeWith(FolderInfo)
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. |
NotImplementedException | Thrown when attempting to edit the ANSI file version. |
See Also
MergeWith(FolderInfo, bool)
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. |
NotImplementedException | Thrown when attempting to edit the ANSI file version. |
See Also