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