LoadFromXmlWithReader static method

SearchFilter? LoadFromXmlWithReader(
  1. EwsServiceXmlReader reader
)
Loads from XML. The reader.

Implementation

static SearchFilter? LoadFromXmlWithReader(EwsServiceXmlReader reader) {
  reader.EnsureCurrentNodeIsStartElement();

  String localName = reader.LocalName;

  SearchFilter? searchFilter = GetSearchFilterInstance(localName);

  if (searchFilter != null) {
    searchFilter.LoadFromXml(reader, reader.LocalName);
  }

  return searchFilter;
}