WriteAttributesToXml method
Writes the attributes to XML.
The writer.
Implementation
@override
void WriteAttributesToXml(EwsServiceXmlWriter writer) {
if (_propertySet != null) {
writer.WriteAttributeValue(
XmlAttributeNames.DistinguishedPropertySetId,
_propertySet,
);
}
if (_propertySetId != null) {
writer.WriteAttributeValue(
XmlAttributeNames.PropertySetId,
_propertySetId.toString(),
);
}
if (_tag != null) {
writer.WriteAttributeValue(XmlAttributeNames.PropertyTag, _tag);
}
if (!StringUtils.IsNullOrEmpty(_name)) {
writer.WriteAttributeValue(XmlAttributeNames.PropertyName, _name);
}
if (_id != null) {
writer.WriteAttributeValue(XmlAttributeNames.PropertyId, _id);
}
writer.WriteAttributeValue(XmlAttributeNames.PropertyType, _mapiType);
}