ListViewItem.ListViewSubItemCollection.IList.Item[Int32] 屬性

定義

取得或設定集合內位於指定索引處的 ListViewItem.ListViewSubItem

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; }
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

要取得或設定的以零為起始元素索引。

屬性值

Object

ListViewItem.ListViewSubItem,表示集合中位於指定索引處的項目。

實作

例外狀況

索引參數小於 0,或者大於或等於 ListView.ColumnHeaderCollection 的 Count 屬性值。

適用於