Click or drag to resize
ElementCollectionIListInsert Method
Inserts an item to the IList at the specified index.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1243
Syntax
void IList.Insert(
	int index,
	Object value
)

Parameters

index
Type: SystemInt32
The zero-based index at which value should be inserted.
value
Type: SystemObject
The Object to insert into the IList.

Implements

IListInsert(Int32, Object)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is not a valid index in the IList.
NotSupportedExceptionThe IList is read-only.-or- The IList has a fixed size.
NullReferenceExceptionvalue is null reference in the IList.
See Also