LoadFromXml method
Loads the settings from XML.
The reader.
Implementation
void LoadFromXml(EwsXmlReader reader) {
reader.ReadStartElementWithNamespace(
XmlNamespace.NotSpecified, XmlElementNames.Autodiscover);
reader.ReadStartElementWithNamespace(
XmlNamespace.NotSpecified, XmlElementNames.Response);
do {
reader.Read();
if (reader.IsStartElement()) {
if (!this.TryReadCurrentXmlElement(reader)) {
reader.SkipCurrentElement();
}
}
} while (!reader.IsEndElementWithNamespace(
XmlNamespace.NotSpecified, XmlElementNames.Response));
reader.ReadEndElementWithNamespace(
XmlNamespace.NotSpecified, XmlElementNames.Autodiscover);
}