Amazon.ECS.Model.SellerListingLookupRequest.ToXMLFragment C# (CSharp) Метод

ToXMLFragment() защищенный Метод

XML fragment representation of this object
Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only
protected ToXMLFragment ( ) : String
Результат String
        protected internal String ToXMLFragment()
        {
            StringBuilder xml = new StringBuilder();
            if (IsSetId()) {
                xml.Append("<Id>");
                xml.Append(EscapeXML(this.Id));
                xml.Append("</Id>");
            }
            if (IsSetSellerId()) {
                xml.Append("<SellerId>");
                xml.Append(EscapeXML(this.SellerId));
                xml.Append("</SellerId>");
            }
            if (IsSetIdType()) {
                xml.Append("<IdType>");
                xml.Append(this.IdType);
                xml.Append("</IdType>");
            }
            List<String> responseGroupList  =  this.ResponseGroup;
            foreach (String responseGroup in responseGroupList) {
                xml.Append("<ResponseGroup>");
                xml.Append(responseGroup);
                xml.Append("</ResponseGroup>");
            }
            return xml.ToString();
        }