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