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.MessageDisposition != null) {
    writer.WriteAttributeValue(
        XmlAttributeNames.MessageDisposition, this.MessageDisposition);
  }

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

  writer.WriteAttributeValue(
      XmlAttributeNames.ConflictResolution, this.ConflictResolutionMode);

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