ToolStripItemCollection.IList.Item[Int32] 屬性

定義

擷取指定索引處的項目。Retrieves the element at the specified index.

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

要取得的項目之索引 (此索引以零為起始)。The zero-based index of the item to get.

屬性值

Object

指定之索引處的 ToolStripItemThe ToolStripItem at the specified index.

實作

備註

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

適用於