add

open override fun add(index: Int, element: MutablePart)

Inserts a part into the mutable part collection at the specified part index. The part index can be equal to the part count and this is equivalent to adding a part to the end of the collection.

Since

200.1.0

Parameters

index

Zero-based index of the part.

element

The part to insert.

Throws

if index is out of range.