ListBox.IntegerCollection.Item[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

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

예외

.NET 5 이상: index 범위를 벗어났습니다.

적용 대상