Goblin - A Platform for 3D AR and VR Applications

TypeDeclCollection.Insert Method 

Inserts an element into the TypeDeclCollection at the specified index.

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

Parameters

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

Exceptions

Exception Type Condition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

TypeDeclCollection Class | DDW.CSharp.Dom Namespace