WriteElementsToXml method
Writes the elements to XML.
The writer.
Implementation
@override
void WriteElementsToXml(EwsServiceXmlWriter writer) {
writer.WriteElementValueWithNamespace(
XmlNamespace.Types, XmlElementNames.Title, this.Title);
writer.WriteElementValueWithNamespace(
XmlNamespace.Types, XmlElementNames.FirstName, this.GivenName);
writer.WriteElementValueWithNamespace(
XmlNamespace.Types, XmlElementNames.MiddleName, this.MiddleName);
writer.WriteElementValueWithNamespace(
XmlNamespace.Types, XmlElementNames.LastName, this.Surname);
writer.WriteElementValueWithNamespace(
XmlNamespace.Types, XmlElementNames.Suffix, this.Suffix);
writer.WriteElementValueWithNamespace(
XmlNamespace.Types, XmlElementNames.Initials, this.Initials);
writer.WriteElementValueWithNamespace(
XmlNamespace.Types, XmlElementNames.FullName, this.FullName);
writer.WriteElementValueWithNamespace(
XmlNamespace.Types, XmlElementNames.NickName, this.NickName);
writer.WriteElementValueWithNamespace(
XmlNamespace.Types, XmlElementNames.YomiFirstName, this.YomiGivenName);
writer.WriteElementValueWithNamespace(
XmlNamespace.Types, XmlElementNames.YomiLastName, this.YomiSurname);
}