Goblin - A Platform for 3D AR and VR Applications

CompileUnitCollection.Insert Method 

Inserts an element into the CompileUnitCollection at the specified index.

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

Parameters

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

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

CompileUnitCollection Class | DDW.CSharp.Dom Namespace