Amazon.ECS.Model.CartItemMetaData.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();
            List<MetaData> keyValuePairList = this.KeyValuePair;
            foreach (MetaData keyValuePair in keyValuePairList) {
                xml.Append("<KeyValuePair>");
                xml.Append(keyValuePair.ToXMLFragment());
                xml.Append("</KeyValuePair>");
            }
            return xml.ToString();
        }