Click or drag to resize

CollectionTInsert Method

Inserts a T to the collection at the specified index.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public void Insert(
	int index,
	T item
)

Parameters

index
Type: SystemInt32
The zero-based index at which T should be inserted.
item
Type: T
The T to insert into the collection.

Implements

IListTInsert(Int32, T)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero or index is equal to or greater than Count.
See Also