Collection.IList.Item[Int32] 속성

정의

지정한 인덱스에 있는 요소를 가져오거나 설정합니다.

property System::Object ^ System::Collections::IList::Item[int] { System::Object ^ get(int Index); void set(int Index, System::Object ^ value); };
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 IListItem(Index As Integer) As Object Implements IList.Item
 Property IListItem(index As Integer) As Object Implements IList.Item

매개 변수

indexIndex
Int32

가져오거나 설정할 요소의 인덱스(0부터 시작)입니다.

속성 값

지정한 인덱스의 요소입니다.

예외

indexCollection 개체의 유효한 인덱스가 아닌 경우

속성이 설정되어 있고 Collection 개체가 읽기 전용인 경우

적용 대상