Copy method

Future<Folder?> Copy(
  1. FolderId destinationFolderId
)
Copies this folder into a specific folder. Calling this method results in a call to EWS. The Id of the folder in which to copy this folder.

Implementation

Future<Folder?> Copy(FolderId destinationFolderId) {
  ThrowIfThisIsNew();

  EwsUtilities.ValidateParam(destinationFolderId, "destinationFolderId");

  return Service.CopyFolder(Id!, destinationFolderId);
}