ReadElementsFromXml method

  1. @override
void ReadElementsFromXml(
  1. EwsServiceXmlReader reader
)
override
Reads response elements from XML. The reader.

Implementation

@override
void ReadElementsFromXml(EwsServiceXmlReader reader) {
  super.ReadElementsFromXml(reader);

  List<ServiceObjects.Folder> folders =
      reader.ReadServiceObjectsCollectionFromXml<ServiceObjects.Folder>(
          XmlElementNames.Folders,
          this._GetObjectInstance,
          true,
          /* clearPropertyBag */
          this._propertySet,
          /* requestedPropertySet */
          false); /* summaryPropertiesOnly */

  this._folder = folders[0];
}