Share via


_MailItem.Move Method

Moves a Microsoft Outlook item to a new folder.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Function Move ( _
    DestFldr As MAPIFolder _
) As Object
'Usage
Dim instance As _MailItem
Dim DestFldr As MAPIFolder
Dim returnValue As Object

returnValue = instance.Move(DestFldr)
[DispIdAttribute()]
Object Move(
    MAPIFolder DestFldr
)

Parameters

Return Value

Type: System.Object
An Object value that represents the item which has been moved to the designated folder.

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace