This documentation is archived and is not being maintained.

MAPIFolder.CopyTo Method

Copies the current folder in its entirety to the destination folder.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

MAPIFolder CopyTo(
	MAPIFolder DestinationFolder


Type: Microsoft.Office.Interop.Outlook.MAPIFolder

Required Folder object that represents the destination folder.

Return Value

Type: Microsoft.Office.Interop.Outlook.MAPIFolder
A Folder object that represents the new copy of the current folder.

Setting the REG_MULTI_SZ value, DisableCrossAccountCopy, in HKCU\Software\Microsoft\Office\14.0\Outlook in the Windows registry has the side effect of disabling this method.