WriteElementsToXml method

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

Implementation

@override
void WriteElementsToXml(EwsServiceXmlWriter writer) {
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.SID, this.SID);

  writer.WriteElementValueWithNamespace(XmlNamespace.Types,
      XmlElementNames.PrimarySmtpAddress, this.PrimarySmtpAddress);

  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.DisplayName, this.DisplayName);

  writer.WriteElementValueWithNamespace(XmlNamespace.Types,
      XmlElementNames.DistinguishedUser, this.StandardUser);
}