Folder.Copy Method

Definition

Overloads

Copy(WellKnownFolderName)

Copies this folder into the specified folder.

Copy(FolderId)

Copies this folder into a specific folder.

Copy(WellKnownFolderName)

Copies this folder into the specified folder.

public:
 Microsoft::Exchange::WebServices::Data::Folder ^ Copy(Microsoft::Exchange::WebServices::Data::WellKnownFolderName destinationFolderName);
public Microsoft.Exchange.WebServices.Data.Folder Copy (Microsoft.Exchange.WebServices.Data.WellKnownFolderName destinationFolderName);
Public Function Copy (destinationFolderName As WellKnownFolderName) As Folder

Parameters

destinationFolderName
WellKnownFolderName

The name of the folder in which to copy this folder.

Returns

The folder that is the copy of the original folder.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Applies to

Copy(FolderId)

Copies this folder into a specific folder.

public:
 Microsoft::Exchange::WebServices::Data::Folder ^ Copy(Microsoft::Exchange::WebServices::Data::FolderId ^ destinationFolderId);
public Microsoft.Exchange.WebServices.Data.Folder Copy (Microsoft.Exchange.WebServices.Data.FolderId destinationFolderId);
Public Function Copy (destinationFolderId As FolderId) As Folder

Parameters

destinationFolderId
FolderId

The identifier of the folder in which to copy this folder.

Returns

The folder that is the copy of the original folder.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Applies to