FolderInfo.MergeWith

MergeWith(FolderInfo)

Merges the folder with the folder from another pst.

public void MergeWith(FolderInfo sourceFolder)
ParameterTypeDescription
sourceFolderFolderInfoThe source folder.

Exceptions

exceptioncondition
InvalidOperationExceptionThrows when the source folder is located in the same pst.
NotImplementedExceptionThrown 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)
ParameterTypeDescription
sourceFolderFolderInfoThe source folder.
recursiveHandlerBooleanIf 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

exceptioncondition
InvalidOperationExceptionThrows when the source folder is located in the same pst.
NotImplementedExceptionThrown when attempting to edit the ANSI file version.

See Also