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