WriteToXmlWithElementNameAndCalendar method

void WriteToXmlWithElementNameAndCalendar(
  1. EwsServiceXmlWriter writer,
  2. String xmlElementName,
  3. bool isCalendarFolder
)
Writes to XML. The writer. Name of the XML element. If true, this permission is for a calendar folder.

Implementation

void WriteToXmlWithElementNameAndCalendar(EwsServiceXmlWriter writer,
    String xmlElementName, bool isCalendarFolder) {
  writer.WriteStartElement(this.Namespace, xmlElementName);
  this.WriteAttributesToXml(writer);
  this.WriteElementsToXmlWithCalendar(writer, isCalendarFolder);
  writer.WriteEndElement();
}