语言

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使用该方法向集合添加 aDataGridColumnStyle。

适用于