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부터 시작)입니다.

속성 값

지정된 인덱스 요소입니다.

예외

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

속성이 설정되고 개체가 Collection 읽기 전용입니다.

적용 대상