TryReadElementFromXml method

  1. @override
Future<bool> TryReadElementFromXml(
  1. EwsServiceXmlReader reader
)
override
Tries to read element from XML. The reader.

Implementation

@override
Future<bool> TryReadElementFromXml(EwsServiceXmlReader reader) async {
  if (_PhysicalAddressSchema.XmlElementNames!.contains(reader.LocalName)) {
    this._propertyBag[reader.LocalName] =
        await reader.ReadElementValue<String>();

    return true;
  } else {
    return false;
  }
}