WriteAttributesToXml method

  1. @override
void WriteAttributesToXml(
  1. EwsServiceXmlWriter writer
)
override
Writes XML attributes. The writer.

Implementation

@override
void WriteAttributesToXml(EwsServiceXmlWriter writer) {
  super.WriteAttributesToXml(writer);

  if (this.AffectedTaskOccurrences != null) {
    writer.WriteAttributeValue(XmlAttributeNames.AffectedTaskOccurrences,
        this.AffectedTaskOccurrences);
  }

  if (this.SendCancellationsMode != null) {
    writer.WriteAttributeValue(XmlAttributeNames.SendMeetingCancellations,
        this.SendCancellationsMode);
  }

  if (this.SuppressReadReceipts) {
    writer.WriteAttributeValue(XmlAttributeNames.SuppressReadReceipts, true);
  }
}