Amazon.ECS.Model.CustomerContentLookupResponse.ToXML C# (CSharp) Метод

ToXML() публичный Метод

XML Representation for this object
public ToXML ( ) : String
Результат String
        public String ToXML()
        {
            StringBuilder xml = new StringBuilder();
            xml.Append("<CustomerContentLookupResponse xmlns=\"http://webservices.amazon.com/AWSECommerceService/2007-07-16\">");
            if (IsSetOperationRequest()) {
                OperationRequest  operationRequest = this.OperationRequest;
                xml.Append("<OperationRequest>");
                xml.Append(operationRequest.ToXMLFragment());
                xml.Append("</OperationRequest>");
            }
            List<Customers> customersList = this.Customers;
            foreach (Customers customers in customersList) {
                xml.Append("<Customers>");
                xml.Append(customers.ToXMLFragment());
                xml.Append("</Customers>");
            }
            xml.Append("</CustomerContentLookupResponse>");
            return xml.ToString();
        }