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