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