ListView.ColumnHeaderCollection.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
Object

要插入至集合的 ColumnHeader

實作

例外狀況

index 小於 0,或大於等於 CountListView.ColumnHeaderCollection 屬性值。

適用於