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

定義

在所有情況下都會擲回 NotSupportedException 例外狀況。

 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);
abstract member System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
override this.System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
Sub Insert (index As Integer, item As T) Implements IList(Of T).Insert

參數

index
Int32

應在 item 插入以零為起始的索引。

item
T

要插入陣列區段中的物件。

實作

例外狀況

在所有情況下。

備註

這個方法一律會擲回 , NotSupportedException 因為無法展開陣列區段。

適用於