Item.Move 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.
Overloads
Move(FolderId) |
Moves this item to the specified folder. Calling this method results in a call to Exchange Web Services (EWS). |
Move(WellKnownFolderName) |
Moves this item to the specified folder. Calling this method results in a call to Exchange Web Services (EWS). |
Move(FolderId)
Moves this item to the specified folder. Calling this method results in a call to Exchange Web Services (EWS).
public:
Microsoft::Exchange::WebServices::Data::Item ^ Move(Microsoft::Exchange::WebServices::Data::FolderId ^ destinationFolderId);
public Microsoft.Exchange.WebServices.Data.Item Move (Microsoft.Exchange.WebServices.Data.FolderId destinationFolderId);
Public Function Move (destinationFolderId As FolderId) As Item
Parameters
- destinationFolderId
- FolderId
The ID of the folder to which to move this item.
Returns
An Item object.
Applies to
Move(WellKnownFolderName)
Moves this item to the specified folder. Calling this method results in a call to Exchange Web Services (EWS).
public:
Microsoft::Exchange::WebServices::Data::Item ^ Move(Microsoft::Exchange::WebServices::Data::WellKnownFolderName destinationFolderName);
public Microsoft.Exchange.WebServices.Data.Item Move (Microsoft.Exchange.WebServices.Data.WellKnownFolderName destinationFolderName);
Public Function Move (destinationFolderName As WellKnownFolderName) As Item
Parameters
- destinationFolderName
- WellKnownFolderName
The name of the folder to which to move this item.
Returns
An Item object.