WriteToXml method
Writes to XML.
The writer.
The group by clause.
Implementation
@override
void WriteToXml(EwsServiceXmlWriter writer, Grouping? groupBy) {
if (this.serviceObjType == ServiceObjectType.Item) {
this
.GetPropertySetOrDefault()
.WriteToXml(writer, this.GetServiceObjectType());
}
writer.WriteStartElement(
XmlNamespace.Messages, this.GetViewXmlElementName());
this.InternalWriteViewToXml(writer);
writer.WriteEndElement(); // this.GetViewXmlElementName()
this.InternalWriteSearchSettingsToXml(writer, groupBy);
}