WriteElementsToXml method
Gets or sets the Persona Postal Address.
Writes elements to XML.
The writer.
Implementation
// complex.PersonaPostalAddress PersonaPostalAddress
// {
// get { return this.personaPostalAddress; }
// set
// {
// if (!this.personaPostalAddress.Equals(value))
// {
// if (this.personaPostalAddress != null)
// {
// this.personaPostalAddress.OnChange -= new ComplexPropertyChangedDelegate(PersonaPostalAddress_OnChange);
// }
//
// this.SetFieldValue<PersonaPostalAddress>(ref this.personaPostalAddress, value);
//
// this.personaPostalAddress.OnChange += new ComplexPropertyChangedDelegate(PersonaPostalAddress_OnChange);
// }
// }
// }
/// <summary>
/// Writes elements to XML.
/// </summary>
/// <param name="writer">The writer.</param>
@override
void WriteElementsToXml(EwsServiceXmlWriter writer) {
writer.WriteElementValueWithNamespace(XmlNamespace.Types,
XmlElementNames.LocationDisplayName, this._displayName);
writer.WriteElementValueWithNamespace(XmlNamespace.Types,
XmlElementNames.LocationAnnotation, this._annotation);
this._personaPostalAddress!.WriteToXmlElementName(writer);
}