Click or drag to resize

PdfArrayWrapperTInsert Method

Inserts an item to the collection at the specified index.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntax
public void Insert(
	int index,
	T item
)

Parameters

index  Int32
The zero-based index at which item should be inserted.
item  T
The object to insert into the collection.

Implements

IListTInsert(Int32, T)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is not a valid index in the collection.
ArgumentNullExceptionitem is null.
ArgumentExceptionThe underlying value is null.
NotSupportedExceptionThe property is set and underlying value is PdfTypeStream (or another type expected as an indirect type) and list of indirect objects is null.
NotSupportedExceptionCollection is read-only.
See Also