ReadElementsFromXml method

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

Implementation

@override
Future<void> ReadElementsFromXml(EwsServiceXmlReader reader) async {
  await super.ReadElementsFromXml(reader);

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

  this._folder = folders[0];
}