Inserts an element into the Collection at the specified index.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
protected abstract void InsertItem( int index, T item ) |
Visual Basic |
---|
Protected MustOverride Sub InsertItem ( index As Integer, item As T ) |
Parameters
- index
- Type: System..::..Int32
The zero-based index at which item should be inserted.
- item
- Type: T
The object to insert. The value can be null (Nothing in Visual Basic) for reference types.