TryReadElementFromXml method
Tries to read element from XML.
The reader.
Implementation
@override
bool TryReadElementFromXml(EwsServiceXmlReader reader) {
switch (reader.LocalName) {
case XmlElementNames.IsUndecidedApprovalRequest:
this.isUndecidedApprovalRequest = reader.ReadElementValue<bool>();
return true;
case XmlElementNames.ApprovalDecision:
this.approvalDecision = reader.ReadElementValue<int>();
return true;
case XmlElementNames.ApprovalDecisionMaker:
this.approvalDecisionMaker = reader.ReadElementValue<String>();
return true;
case XmlElementNames.ApprovalDecisionTime:
this.approvalDecisionTime = reader.ReadElementValueAsDateTime();
return true;
default:
return false;
}
}