SaveWithWellKnownFolderName method

Future<void> SaveWithWellKnownFolderName(
  1. WellKnownFolderName parentFolderName
)
Saves this item in a specific folder. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added. The name of the folder in which to save this item.

Implementation

Future<void> SaveWithWellKnownFolderName(
    WellKnownFolderName parentFolderName) {
  return this.InternalCreate(
      new FolderId.fromWellKnownFolder(parentFolderName),
      MessageDisposition.SaveOnly,
      null);
}