SafelyCastedList<TFrom, TTo>.Insert Method

Inserts an item to the IList<T> at the specified index.

Definition

Namespace: QuickAdmin.Utils
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.0.122
C#
public void Insert(
	int index,
	TTo item
)

Parameters

index  int
The zero-based index at which item should be inserted.
item  TTo
The object to insert into the IList<T>.

Implements

IList<T>.Insert(int, T)

Exceptions

ArgumentOutOfRangeExceptionindex is not a valid index in the IList<T>.
NotSupportedExceptionThe IList<T> is read-only.

See Also