WritePropertyValueToXml method
void
WritePropertyValueToXml(
- EwsServiceXmlWriter writer,
- PropertyBag propertyBag,
- bool isUpdateOperation
override
Implementation
@override
void WritePropertyValueToXml(EwsServiceXmlWriter writer,
PropertyBag propertyBag, bool isUpdateOperation) {
ComplexProperty? complexProperty = propertyBag[this] as ComplexProperty?;
if (complexProperty != null) {
writer.WriteStartElement(XmlNamespace.Types, this.XmlElementName);
complexProperty.WriteToXml(writer, this.containedXmlElementName);
writer.WriteEndElement(); // this.XmlElementName
}
}