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

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.

See Also

Reference

MAPIFolder Interface

MAPIFolder Members

Microsoft.Office.Interop.Outlook Namespace