ReadAttributesFromXml method
Reads the attributes from XML.
The reader.
Implementation
@override
void ReadAttributesFromXml(EwsServiceXmlReader reader) {
super.ReadAttributesFromXml(reader);
this.EmailAddress!.Name =
reader.ReadAttributeValue<String>(XmlAttributeNames.Name);
this.EmailAddress!.RoutingType =
reader.ReadAttributeValue<String>(XmlAttributeNames.RoutingType);
String? mailboxTypeString =
reader.ReadAttributeValue(XmlAttributeNames.MailboxType);
if (!StringUtils.IsNullOrEmpty(mailboxTypeString)) {
this.EmailAddress!.MailboxType =
EwsUtilities.Parse<MailboxType>(mailboxTypeString);
} else {
this.EmailAddress!.MailboxType = null;
}
}