Moves the specified item (e.g. mail message) into the specified folder.
Namespace: MailBee.EwsMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public ItemId MoveItem(
ItemId movedItemId,
FolderId targetFolderId
)
Public Function MoveItem (
movedItemId As ItemId,
targetFolderId As FolderId
) As ItemId
Parameters
- movedItemId
- Type: ItemId
The ID of the item to move. Null reference (Nothing in Visual Basic) not allowed. - targetFolderId
- Type: FolderId
The ID of the folder where to copy the message. Null reference not allowed.
Return Value
Type:
ItemIdID of the new item if succeeded; otherwise, a null reference.
Exceptions Remarks See Also