コード例 #1
0
 /// <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);
     }
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(PivotColumnValueCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }