DataGridViewColumnCollection.IList.Item[Int32] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在指定的索引位置上取得或設定項目。
property System::Object ^ System::Collections::IList::Item[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
object System.Collections.IList.Item[int index] { get; set; }
member this.System.Collections.IList.Item(int) : obj with get, set
Property Item(index As Integer) As Object Implements IList.Item
參數
- index
- Int32
要取得的資料行中以零為起始的索引。
屬性值
指定之索引處的 DataGridViewColumn。
實作
例外狀況
正在設定此屬性。
取得這個屬性時,index
小於零或大於集合中的資料行數減一。
備註
這個成員是明確介面成員實作, 只有在 DataGridViewColumnCollection 執行個體轉換成 IList 介面時,才能使用這個成員。
此實作不支援設定此屬性。