LoadPropertyValueFromXml method

  1. @override
Future<void> LoadPropertyValueFromXml(
  1. EwsServiceXmlReader reader,
  2. PropertyBag propertyBag
)
override
Loads from XML. The reader. The property bag.

Implementation

@override
Future<void> LoadPropertyValueFromXml(
    EwsServiceXmlReader reader, PropertyBag propertyBag) async {
  TimeZoneDefinition timeZoneDefinition = new TimeZoneDefinition();
  await timeZoneDefinition.LoadFromXml(reader, this.XmlElementName);

  propertyBag[this] = timeZoneDefinition.ToTimeZoneInfo(reader.Service);
}