GridTableStylesCollection.IList.Insert(Int32, Object) 方法

定義

實作 Insert(Int32, Object) 方法。 永遠擲回 NotSupportedException

 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
Object

要插入集合的物件。

實作

例外狀況

一律擲回。

備註

您無法將專案插入集合中間。 Add使用 方法將 加入 DataGridColumnStyle 至集合。

適用於