///<summary>Appends the elements of Source.</summary>
 public void Append(ArrayOfSimpleSerializer Source)
 {
     foreach (SimpleSerializer S in Source)
     {
         Add(S);
     }
 }
        /// <summary>Loads properties from an XML string.</summary>
        protected bool LoadXML(string xml)
        {
            ArrayOfSimpleSerializer NewO = (ArrayOfSimpleSerializer)Serializer.FromXML(this.GetType(), xml);

            if (NewO == null)
            {
                return(false);
            }
            foreach (object item in NewO)
            {
                this.Add(item);
            }
            foreach (PropertyInfo i in this.GetType().GetProperties())
            {
                if (i.Name != "Item" && i.Name != "Count" && i.GetValue(NewO, null) != null)
                {
                    try { i.SetValue(this, i.GetValue(NewO, null), null); }
                    catch (Exception e) { if (e.Message != "Property set method not found.")
                                          {
                                              throw;
                                          }
                    }
                }
            }
            return(true);
        }