MAPIFolder.MoveTo Method
Moves a folder to the specified destination folder.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Sub MoveTo ( _
DestinationFolder As MAPIFolder _
)
'Usage
Dim instance As MAPIFolder
Dim DestinationFolder As MAPIFolder
instance.MoveTo(DestinationFolder)
[DispIdAttribute()]
void MoveTo(
MAPIFolder DestinationFolder
)
Parameters
DestinationFolder
Type: Microsoft.Office.Interop.Outlook.MAPIFolderThe destination Folder for the Folder that is being moved.
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.