Export (0) Print
Expand All

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)

[DispIdAttribute()]
MAPIFolder CopyTo(
	MAPIFolder DestinationFolder
)

Parameters

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.

Show:
© 2015 Microsoft