WriteElementsToXml method

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

Implementation

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

  if (this.NumberOfOccurrences != null) {
    writer.WriteElementValueWithNamespace(XmlNamespace.Types,
        XmlElementNames.NumberOfOccurrences, this.NumberOfOccurrences);
  }
}