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) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public void Insert(
	int index,
	Object? value
)

Parameters

index  Int32
The zero-based index at which value should be inserted.
value  Object
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