Goblin - A Platform for 3D AR and VR Applications

DeclaratorCollection.Insert Method 

Inserts an element into the DeclaratorCollection at the specified index.

public virtual void Insert(
   int index,
   Declarator item
);

Parameters

index
The zero-based index at which item should be inserted.
item
The Declarator to insert.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

DeclaratorCollection Class | DDW.CSharp.Dom Namespace