WriteAttributesToXml method
Implementation
@override
void WriteAttributesToXml(EwsServiceXmlWriter writer) {
// The Name attribute is only supported in Exchange 2010 and above.
if (writer.Service.RequestedServerVersion !=
ExchangeVersion.Exchange2007_SP1) {
writer.WriteAttributeValue(XmlAttributeNames.Name, this._name);
}
writer.WriteAttributeValue(XmlAttributeNames.Id, this._id);
}