[]
Adds a collection of ReportItem objects to the existing ReportItemCollection.
public void AddRange(IEnumerable<ReportItem> collection)
Type | Name | Description |
---|---|---|
IEnumerable<ReportItem> | collection | A collection of the ReportItem objects to add. |
ReportItemCollection collection1 = new ReportItemCollection();
ReportItemCollection collection2 = new ReportItemCollection();
collection2.Add(new TextBox());
collection1.AddRange(collection2);