SynchronizedCollection<T>.RemoveAt(Int32) 메서드

정의

컬렉션에서 지정된 인덱스의 항목을 제거합니다.

public:
 virtual void RemoveAt(int index);
public void RemoveAt (int index);
abstract member RemoveAt : int -> unit
override this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

매개 변수

index
Int32

컬렉션에서 검색할 요소의 인덱스(0부터 시작)입니다.

구현

예외

지정된 index가 0보다 작거나 컬렉션의 항목 수보다 큰 경우

설명

컬렉션에서 제거된 요소 다음에 오는 요소는 위로 이동하여 빈 지점을 채우며 인덱스도 따라서 업데이트됩니다.

적용 대상