WriteElementsToXml method
Writes XML elements.
The writer.
Implementation
@override
void WriteElementsToXml(EwsServiceXmlWriter writer) {
if (this.SavedItemsDestinationFolder != null) {
writer.WriteStartElement(
XmlNamespace.Messages, XmlElementNames.SavedItemFolderId);
this.SavedItemsDestinationFolder!.WriteToXmlElemenetName(writer);
writer.WriteEndElement();
}
writer.WriteStartElement(
XmlNamespace.Messages, XmlElementNames.ItemChanges);
for (Item item in this._items) {
item.WriteToXmlForUpdate(writer);
}
writer.WriteEndElement();
}