[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Document.PagesCollection-1.Add

Add Method

Add(Guid, T)

Adds a new item into the cache.

Declaration
protected void Add(Guid k, T v)
Parameters
Type Name Description
Guid k

Identifier or key for item to add.

T v

Actual item to store.

Add(object)

Adds an item to the IList.

Declaration
public int Add(object value)
Parameters
Type Name Description
object value

The object to add to the IList.

Returns
Type Description
int

The position into which the new element was inserted.

Implements

Add(T)

Adds a page object to the end of the pages collection.

Declaration
public int Add(T value)
Parameters
Type Name Description
T value

An item to add.

Returns
Type Description
int

The position into which the new item was inserted

Exceptions
Type Condition
ArgumentNullException

Thrown when value is null