Edit

Share via


MAPIFolder.CopyTo(MAPIFolder) Method

Definition

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

public:
 Microsoft::Office::Interop::Outlook::MAPIFolder ^ CopyTo(Microsoft::Office::Interop::Outlook::MAPIFolder ^ DestinationFolder);
public Microsoft.Office.Interop.Outlook.MAPIFolder CopyTo (Microsoft.Office.Interop.Outlook.MAPIFolder DestinationFolder);
Public Function CopyTo (DestinationFolder As MAPIFolder) As MAPIFolder

Parameters

DestinationFolder
MAPIFolder

Required Folder object that represents the destination folder.

Returns

A Folder object that represents the new copy of the current folder.

Remarks

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.

Applies to