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.Street, this._street);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.City, this._city);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.State, this._state);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.Country, this._country);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.PostalCode, this._postalCode);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.PostOfficeBox, this._postOfficeBox);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.PostalAddressType, this._type);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.Latitude, this._latitude);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.Longitude, this._longitude);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.Accuracy, this._accuracy);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.Altitude, this._altitude);
  writer.WriteElementValueWithNamespace(XmlNamespace.Types,
      XmlElementNames.AltitudeAccuracy, this._altitudeAccuracy);
  writer.WriteElementValueWithNamespace(XmlNamespace.Types,
      XmlElementNames.FormattedAddress, this._formattedAddress);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.LocationUri, this._uri);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.LocationSource, this._source);
}