/// <summary> /// Adds the elements of another SelectColumnCollection to the end of this SelectColumnCollection. /// </summary> /// <param name="items"> /// The SelectColumnCollection whose elements are to be added to the end of this SelectColumnCollection. /// </param> public virtual void AddRange(SelectColumnCollection items) { foreach (SelectColumn item in items) { this.List.Add(item); } }
/// <summary> /// Initializes a new instance of the SelectColumnCollection class, containing elements /// copied from another instance of SelectColumnCollection /// </summary> /// <param name="items"> /// The SelectColumnCollection whose elements are to be added to the new SelectColumnCollection. /// </param> public SelectColumnCollection(SelectColumnCollection items) { this.AddRange(items); }
/// <summary> /// /// </summary> /// <param name="collection"></param> public Enumerator(SelectColumnCollection collection) { this.wrapped = ((CollectionBase)collection).GetEnumerator(); }