protected internal String ToXMLFragment()
{
StringBuilder xml = new StringBuilder();
if (IsSetTotalExcerpts()) {
xml.Append("<TotalExcerpts>");
xml.Append(this.TotalExcerpts);
xml.Append("</TotalExcerpts>");
}
if (IsSetExcerpt()) {
SearchInsideExcerpt excerpt = this.Excerpt;
xml.Append("<Excerpt>");
xml.Append(excerpt.ToXMLFragment());
xml.Append("</Excerpt>");
}
return xml.ToString();
}