WriteElementsToXml method

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

Implementation

@override
void WriteElementsToXml(EwsServiceXmlWriter writer) {
  super.WriteElementsToXml(writer);

  writer.WriteElementValueWithNamespace(XmlNamespace.Types,
      XmlElementNames.AttachLongPathName, this.AttachmentLongPathName);
  writer.WriteElementValueWithNamespace(
      XmlNamespace.Types, XmlElementNames.ProviderType, this.ProviderType);
  writer.WriteElementValueWithNamespace(XmlNamespace.Types,
      XmlElementNames.ProviderEndpointUrl, this.ProviderEndpointUrl);
  writer.WriteElementValueWithNamespace(XmlNamespace.Types,
      XmlElementNames.AttachmentThumbnailUrl, this.AttachmentThumbnailUrl);
  writer.WriteElementValueWithNamespace(XmlNamespace.Types,
      XmlElementNames.AttachmentPreviewUrl, this.AttachmentPreviewUrl);
  writer.WriteElementValueWithNamespace(XmlNamespace.Types,
      XmlElementNames.PermissionType, this.PermissionType);
  writer.WriteElementValueWithNamespace(XmlNamespace.Types,
      XmlElementNames.AttachmentIsFolder, this.AttachmentIsFolder);
}