WriteToXmlWithNamespace method

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

Implementation

void WriteToXmlWithNamespace(EwsServiceXmlWriter writer,
    XmlNamespace xmlNamespace, String? xmlElementName) {
  writer.WriteStartElement(xmlNamespace, xmlElementName);
  this.WriteAttributesToXml(writer);
  this.WriteElementsToXml(writer);
  writer.WriteEndElement();
}