AvalonEdit
SetItem Method (index, item)
NamespacesICSharpCode.AvalonEdit.UtilsNullSafeCollection<(Of <(<'T>)>)>SetItem(Int32, T)
Replaces the element at the specified index.
Declaration Syntax
C#Visual BasicVisual C++
protected override void SetItem(
	int index,
	T item
)
Protected Overrides Sub SetItem ( _
	index As Integer, _
	item As T _
)
protected:
virtual void SetItem(
	int index, 
	T item
) override
Parameters
index (Int32)
The zero-based index of the element to replace.
item (T)
The new value for the element at the specified index. 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