ListView.ColumnHeaderCollection.IList.Insert(Int32, Object) 方法      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将现有的列标题插入到集合中的指定索引位置。
 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 -> unitSub Insert (index As Integer, value As Object) Implements IList.Insert参数
- index
- Int32
插入列标题处的从零开始的索引位置。
- value
- Object
要插入到集合中的 ColumnHeader。
实现
例外
index 小于 0,或者大于或等于 Count 的 ListView.ColumnHeaderCollection 属性的值。