[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.ItemCollection-1

ItemCollection<T> Class

Represents a base class for strongly typed collection of T objects.

Namespace: GrapeCity.ActiveReports.PageReportModel
Assembly: MESCIUS.ActiveReports.Core.Rdl.dll
Syntax
public class ItemCollection<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Name Description
T

A type of collection items.

Constructors

Name Description
ItemCollection()

Properties

Name Description
Count

Gets the number of T objects in the ItemCollection<T>.

IsReadOnly

Gets a value indicating whether the ItemCollection<T> is read-only.

this[int]

Gets or sets a specific T object in the ItemCollection<T> by position.

Methods

Name Description
Add(T)

Adds a T object to the ItemCollection<T>.

AddRange(IEnumerable<T>)

Adds a collection of T objects to the existing ItemCollection<T>.

Clear()

Removes all items from the ItemCollection<T>.

Contains(T)

Gets a value indicating whether the ItemCollection<T> contains the specified T.

CopyTo(T[], int)

Copies the objects in the ItemCollection<T> to a T array, starting at the specified array index.

GetEnumerator()

Returns an enumerator that iterates through the ItemCollection<T>.

IndexOf(T)

Determines the index of a specific T object in the ItemCollection<T>.

Insert(int, T)

Inserts a new T into the ItemCollection<T> at the specified location.

Remove(T)

Removes the specified T object from the ItemCollection<T>.

RemoveAt(int)

Removes a T object from the ItemCollection<T> at the specified index.

ToArray()

Copies the elements of the ItemCollection<T> to a new array.

Extension Methods