InternalWriteViewToXml method

  1. @override
void InternalWriteViewToXml(
  1. EwsServiceXmlWriter writer
)
override
Write to XML. The writer.

Implementation

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

  writer.WriteAttributeValue(
      XmlAttributeNames.BasePoint, this.OffsetBasePoint);

  if (this.Condition != null) {
    writer.WriteStartElement(XmlNamespace.Types, XmlElementNames.Condition);
    this.Condition!.WriteToXmlWithWriter(writer);
    writer.WriteEndElement(); // Restriction
  }
}