WriteElementsToXml method
Implementation
@override
void WriteElementsToXml(EwsServiceXmlWriter writer) {
writer.WriteStartElement(XmlNamespace.Messages, XmlElementNames.ItemIds);
for (Item item in this.Items!) {
item.Id!.WriteToXml(writer, XmlElementNames.ItemId);
}
writer.WriteEndElement(); // ItemIds
if (this.SavedCopyDestinationFolderId != null) {
writer.WriteStartElement(
XmlNamespace.Messages, XmlElementNames.SavedItemFolderId);
this.SavedCopyDestinationFolderId!.WriteToXmlElemenetName(writer);
writer.WriteEndElement();
}
}