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.Item> items =
      await reader.ReadServiceObjectsCollectionFromXml<serviceObjects.Item>(
          XmlElementNames.Items,
          this._GetObjectInstance,
          true,
          /* clearPropertyBag */
          this._propertySet,
          /* requestedPropertySet */
          false); /* summaryPropertiesOnly */

  this._item = items[0];
}