ArraySegment<T>.IList<T>.Insert(Int32, T) 方法

定义

在所有情况下都会引发 NotSupportedException 异常。Throws a NotSupportedException exception in all cases.

 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

参数

index
Int32

应插入 item 的从零开始的索引。The zero-based index at which item should be inserted.

item
T

要插入数组段中的对象。The object to insert into the array segment.

实现

异常

在所有情况下。In all cases.

注解

此方法始终引发 NotSupportedException,因为无法展开数组段。This method always throws a NotSupportedException because an array segment cannot be expanded.

适用于