LoadResponseCollectionFromXml method
Loads the response collection from XML.
The reader.
Implementation
/* private */
void LoadResponseCollectionFromXml(EwsXmlReader reader) {
if (!reader.IsEmptyElement) {
do {
reader.Read();
if ((reader.NodeType == XmlNodeType.Element) &&
(reader.LocalName == this.GetResponseInstanceXmlElementName())) {
TResponse response = this.CreateResponseInstance();
response.LoadFromXml(
reader, this.GetResponseInstanceXmlElementName());
this.Responses!.add(response);
}
} while (!reader.IsEndElementWithNamespace(XmlNamespace.Autodiscover,
this.GetResponseCollectionXmlElementName()));
}
}