DataGridViewCellCollection.IList.RemoveAt(Int32) 메서드

정의

지정된 인덱스에서 DataGridViewCell를 제거합니다.

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
abstract member System.Collections.IList.RemoveAt : int -> unit
override this.System.Collections.IList.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

매개 변수

index
Int32

DataGridViewCell을 제거할 위치입니다.

구현

예외

DataGridViewCellCollection을 소유하는 행이 이미 DataGridView 컨트롤에 속해 있는 경우

설명

컨트롤에 행을 추가하면 포함된 셀 수가 항상 컨트롤의 열 수와 일치하므로 이 메서드는 더 이상 유용하지 않습니다.

이 멤버는 명시적 인터페이스 멤버 구현이며, DataGridViewCellCollection 인스턴스가 IList 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.

적용 대상

추가 정보