StateManagedCollection.IList.Item[Int32] 屬性

定義

取得指定索引處的 IStateManager 項目。Gets the IStateManager 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 element to get.

屬性值

Object

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

實作

例外狀況

所指定的 index 超出集合範圍。The specified index is out of range of the collection.

適用於

另請參閱