WriteElementsToXml method

  1. @override
void WriteElementsToXml(
  1. EwsServiceXmlWriter writer
)
override
Writes elements to XML. The writer.

Implementation

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

  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types,
      XmlElementNames.TimeOffset,
      EwsUtilities.TimeSpanToXSDuration(this.timeOffset!));

  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.Month, this.month);
}