Int32Collection.Item[Int32] 속성

정의

지정된 인덱스 위치의 Int32 을 가져오거나 설정합니다.

public:
 property int default[int] { int get(int index); void set(int index, int value); };
public int this[int index] { get; set; }
member this.Item(int) : int with get, set
Default Public Property Item(index As Integer) As Integer

매개 변수

index
Int32

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

속성 값

Int32

지정한 인덱스에 있는 Int32입니다.

구현

예외

index가 0보다 작은 경우

또는 indexCount보다 크거나 같은 경우

적용 대상