protected internal String ToXMLFragment()
{
StringBuilder xml = new StringBuilder();
if (IsSetCustomerId()) {
xml.Append("<CustomerId>");
xml.Append(EscapeXML(this.CustomerId));
xml.Append("</CustomerId>");
}
if (IsSetName()) {
xml.Append("<Name>");
xml.Append(EscapeXML(this.Name));
xml.Append("</Name>");
}
if (IsSetNickname()) {
xml.Append("<Nickname>");
xml.Append(EscapeXML(this.Nickname));
xml.Append("</Nickname>");
}
if (IsSetLocation()) {
xml.Append("<Location>");
xml.Append(EscapeXML(this.Location));
xml.Append("</Location>");
}
return xml.ToString();
}