GridTableStylesCollection.IList.Insert(Int32, Object) GridTableStylesCollection.IList.Insert(Int32, Object) GridTableStylesCollection.IList.Insert(Int32, Object) Method

定義

實作 Insert(Int32, Object) 方法。Implements the Insert(Int32, Object) method. 永遠擲回 NotSupportedExceptionAlways throws NotSupportedException.

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
Sub Insert (index As Integer, value As Object) Implements IList.Insert

參數

index
Int32 Int32 Int32

應插入 value 之以零為起始的索引。The zero-based index at which value should be inserted.

value
Object Object Object

要插入集合的物件。The object to insert into the collection.

實作

例外狀況

備註

您不能將專案插入集合的中間。You cannot insert an item into the middle of the collection. 使用方法,將加入DataGridColumnStyle至集合。 AddUse the Add method to add a DataGridColumnStyle to the collection.

適用於