WriteToXmlWithNamespace method

  1. @override
void WriteToXmlWithNamespace(
  1. EwsServiceXmlWriter writer,
  2. XmlNamespace xmlNamespace,
  3. String? xmlElementName
)
override
Writes to XML. The writer. The XML namespace. Name of the XML element.

Implementation

@override
void WriteToXmlWithNamespace(EwsServiceXmlWriter writer,
    XmlNamespace xmlNamespace, String? xmlElementName) {
  // Only write collection if it has at least one element.
  if (this._entries.length > 0) {
    super.WriteToXmlWithNamespace(writer, xmlNamespace, xmlElementName);
  }
}