ColumnDefinitionCollection.IList.Item[Int32] ColumnDefinitionCollection.IList.Item[Int32] ColumnDefinitionCollection.IList.Item[Int32] Property

定義

如需這個成員的說明,請參閱 Item[Int32]For a description of this member, see Item[Int32].

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; }
 Property Item(index As Integer) As Object Implements IList.Item

參數

index
Int32 Int32 Int32

要取得或設定之以零為起始的項目索引。The zero-based index of the element to get or set.

屬性值

在指定索引上的項目。The element at the specified index.

實作

例外狀況

index 不是清單中的有效索引位置。index is not a valid index position in the list.

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 ColumnDefinitionCollection 執行個體轉換成 IList 介面時,才能使用這個成員。It can be used only when the ColumnDefinitionCollection instance is cast to an IList interface.

這個屬性可以使用下列語法提供存取集合中特定元素的能力:myCollection[index]This property provides the ability to access a specific element in the collection by using the following syntax: myCollection[index].

適用於