MAPIFolder.CopyTo(MAPIFolder) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.