public AttributeList GetTag() { AttributeList tag = new AttributeList(); tag.Name = m_tag; foreach(Attribute x in List) tag.Add((Attribute)x.Clone()); return tag; }
public override Object Clone() { AttributeList rtn = new AttributeList(); for (int i = 0; i < m_list.Count; i++) { rtn.Add((Attribute)this[i].Clone()); } return(rtn); }
public AttributeList GetTag() { AttributeList tag = new AttributeList(); tag.Name = m_tag; foreach (Attribute x in List) { tag.Add((Attribute)x.Clone()); } return(tag); }
public override Object Clone() { AttributeList rtn = new AttributeList(); for ( int i=0;i<m_list.Count;i++ ) rtn.Add( (Attribute)this[i].Clone() ); return rtn; }