protected internal String ToXMLFragment()
{
StringBuilder xml = new StringBuilder();
List<String> tagNameList = this.TagName;
foreach (String tagName in tagNameList) {
xml.Append("<TagName>");
xml.Append(EscapeXML(tagName));
xml.Append("</TagName>");
}
if (IsSetCustomerId()) {
xml.Append("<CustomerId>");
xml.Append(EscapeXML(this.CustomerId));
xml.Append("</CustomerId>");
}
if (IsSetTagPage()) {
xml.Append("<TagPage>");
xml.Append(this.TagPage);
xml.Append("</TagPage>");
}
if (IsSetCount()) {
xml.Append("<Count>");
xml.Append(this.Count);
xml.Append("</Count>");
}
if (IsSetTagSort()) {
xml.Append("<TagSort>");
xml.Append(EscapeXML(this.TagSort));
xml.Append("</TagSort>");
}
List<String> responseGroupList = this.ResponseGroup;
foreach (String responseGroup in responseGroupList) {
xml.Append("<ResponseGroup>");
xml.Append(responseGroup);
xml.Append("</ResponseGroup>");
}
return xml.ToString();
}