ArraySegment<T>.IList<T>.Insert(Int32, T) ArraySegment<T>.IList<T>.Insert(Int32, T) ArraySegment<T>.IList<T>.Insert(Int32, T) Method

Definition

Inserts an item into the array segment at the specified index.

 virtual void System.Collections.Generic.IList<T>.Insert(int index, T item) = System::Collections::Generic::IList<T>::Insert;
void IList<T>.Insert (int index, T item);
Sub Insert (index As Integer, item As T) Implements IList(Of T).Insert

Parameters

index
Int32 Int32 Int32

The zero-based index at which item should be inserted.

item
T T T

The object to insert into the array segment.

Implements

Exceptions

Remarks

This member is an explicit interface member implementation. It can be used only when the ArraySegment<T> instance is cast to an IList<T> interface.

Applies to