[]
Represents a strongly typed collection of ReportItem objects.
public class ReportItemCollection : IList, ICollection, IList<ReportItem>, ICollection<ReportItem>, IEnumerable<ReportItem>, IEnumerable
| Name | Description |
|---|---|
| ReportItemCollection() | Initializes a new instance of the ReportItemCollection class. |
| ReportItemCollection(IEnumerable<ReportItem>) | Initializes a new instance of the ReportItemCollection using the specified items. |
| Name | Description |
|---|---|
| Count | Gets the number of ReportItem objects in the ReportItemCollection. |
| IsFixedSize | Gets a value indicating whether the ReportItemCollection has a fixed size. |
| IsReadOnly | Gets a value indicating whether the ReportItemCollection is read-only. |
| IsSynchronized | Gets a value indicating whether access to the ReportItemCollection is synchronized (thread safe). |
| this[int] | Gets or sets a specific ReportItem object in the ReportItemCollection by position. |
| this[string] | Gets the ReportItem object using the specified name. |
| SyncRoot | Gets an object that can be used to synchronize access to the ReportItemCollection. |
| Name | Description |
|---|---|
| Add(ReportItem) | Adds a ReportItem object to the ReportItemCollection. |
| AddRange(IEnumerable<ReportItem>) | Adds a collection of ReportItem objects to the existing ReportItemCollection. |
| Clear() | Removes all items from the ReportItemCollection. |
| Contains(ReportItem) | Gets a value indicating whether the ReportItemCollection contains the specified ReportItem. |
| CopyTo(ReportItem[], int) | Copies the objects in the ReportItemCollection to a ReportItem array, starting at the specified array index. |
| CopyTo(Array, int) | Copies the objects in the ReportItemCollection to an array, starting at the specified array index. |
| GetEnumerator() | Returns an enumerator that iterates through the ReportItemCollection. |
| IndexOf(ReportItem) | Determines the index of a specific ReportItem object in the ReportItemCollection. |
| Insert(int, ReportItem) | Inserts a new ReportItem into the ReportItemCollection at the specified location. |
| OnItemAdded(ReportItemCollectionEventArgs) | Raises the ItemAdded event. |
| OnItemRemoved(ReportItemCollectionEventArgs) | Raises the ItemRemoved event. |
| Remove(ReportItem) | Removes the specified ReportItem object from the ReportItemCollection. |
| RemoveAt(int) | Removes a ReportItem object from the ReportItemCollection at the specified index. |
| ToArray() | Copies the elements of the ReportItemCollection to a new array. |
| Name | Description |
|---|---|
| ItemAdded | Occurs immediately after adding an item to the collection. |
| ItemRemoved | Occurs immediately after removing an item from the collection. |