protected internal String ToXMLFragment()
{
StringBuilder xml = new StringBuilder();
if (IsSetName()) {
xml.Append("<Name>");
xml.Append(EscapeXML(this.Name));
xml.Append("</Name>");
}
if (IsSetCreationDate()) {
xml.Append("<CreationDate>");
xml.Append(EscapeXML(this.CreationDate));
xml.Append("</CreationDate>");
}
if (IsSetValidOperations()) {
ResponseGroupValidOperations validOperations = this.ValidOperations;
xml.Append("<ValidOperations>");
xml.Append(validOperations.ToXMLFragment());
xml.Append("</ValidOperations>");
}
if (IsSetElements()) {
ResponseGroupElements elements = this.Elements;
xml.Append("<Elements>");
xml.Append(elements.ToXMLFragment());
xml.Append("</Elements>");
}
return xml.ToString();
}