AvalonEdit
InsertItem Method (index, item)
NamespacesICSharpCode.AvalonEdit.UtilsNullSafeCollection<(Of <(<'T>)>)>InsertItem(Int32, T)
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index.
Declaration Syntax
C#Visual BasicVisual C++
protected override void InsertItem(
	int index,
	T item
)
Protected Overrides Sub InsertItem ( _
	index As Integer, _
	item As T _
)
protected:
virtual void InsertItem(
	int index, 
	T item
) override
Parameters
index (Int32)
The zero-based index at which item should be inserted.
item (T)
The object to insert. The value can be null for reference types.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero.-or-index is greater than Count.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238