Amazon.ECS.Model.ShippingCharge.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 (IsSetShippingType()) {
                xml.Append("<ShippingType>");
                xml.Append(EscapeXML(this.ShippingType));
                xml.Append("</ShippingType>");
            }
            if (IsSetShippingPrice()) {
                Price  shippingPrice = this.ShippingPrice;
                xml.Append("<ShippingPrice>");
                xml.Append(shippingPrice.ToXMLFragment());
                xml.Append("</ShippingPrice>");
            }
            return xml.ToString();
        }