LoadPropertyValueFromXml method

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

Implementation

@override
void LoadPropertyValueFromXml(
    EwsServiceXmlReader reader, PropertyBag propertyBag) {
  String? value = reader.ReadElementValueWithNamespace(
      XmlNamespace.Types, this.XmlElementName);

  if (!StringUtils.IsNullOrEmpty(value)) {
    propertyBag[this] = this.Parse(value);
  }
}