public override object Clone()
        {
            ItemAttributeCollection attributes = (ItemAttributeCollection)base.Clone();

            attributes.m_attributes = new ArrayList(this.m_attributes.Count);
            foreach (AttributeValueCollection values in this.m_attributes)
            {
                attributes.m_attributes.Add(values.Clone());
            }
            return(attributes);
        }
 public ItemAttributeCollection(ItemAttributeCollection item) : base(item)
 {
     this.m_startTime      = DateTime.MinValue;
     this.m_endTime        = DateTime.MinValue;
     this.m_attributes     = new ArrayList();
     this.m_resultID       = Opc.ResultID.S_OK;
     this.m_diagnosticInfo = null;
     this.m_attributes     = new ArrayList(item.m_attributes.Count);
     foreach (AttributeValueCollection values in item.m_attributes)
     {
         if (values != null)
         {
             this.m_attributes.Add(values.Clone());
         }
     }
 }