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

定義

這些項目無法插入至唯讀的集合中。

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, value As Object) Implements IList.Insert

參數

index
Int32

要在該處插入 value 之以零起始的索引。

value
Object

要插入集合的物件。

實作

例外狀況

這些項目無法插入至唯讀的集合中。

備註

如果呼叫,則會擲回 NotSupportedException

適用於