VegaRise.NET
HomeAPI Reference
Back to ParentElement

InsertChildToIndexMethod

Definition

Namespace
DOM.Abstracts
Assembly
DOM.dll

Inserts one or more child elements at the specified index.

InsertChildToIndex(int index, IElement[] children)

Parameters

index
The index at which to insert the first new child.
children
The children to insert.

Remarks

When the children collection is empty the index is coerced to 0 and a new list is created. Each child's parent reference is updated to point at this instance.