Click or drag to resize

ObservableListAdapterTInsert Method

Inserts an item to the IList at the specified index.

Namespace:  TomsToolbox.ObservableCollections
Assembly:  TomsToolbox.ObservableCollections (in TomsToolbox.ObservableCollections.dll)
Syntax
public void Insert(
	int index,
	Object? value
)

Parameters

index
Type: SystemInt32
The zero-based index at which value should be inserted.
value
Type: SystemObject
The object to insert into the IList.

Implements

IListInsert(Int32, Object)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is not a valid index in the IList.
NotSupportedExceptionThe IList is read-only.-or- The IList has a fixed size.
NullReferenceExceptionvalue is null reference in the IList.
See Also