TableCellCollection.RemoveRange(Int32, Int32) 메서드

정의

시작 인덱스 및 수로 지정된 항목 범위를 컬렉션에서 제거합니다.

public:
 void RemoveRange(int index, int count);
public void RemoveRange (int index, int count);
member this.RemoveRange : int * int -> unit
Public Sub RemoveRange (index As Integer, count As Integer)

매개 변수

index
Int32

제거할 항목 범위의 시작 부분을 나타내는 0부터 시작하는 인덱스입니다.

count
Int32

index로 지정된 위치에서 시작하는 제거할 항목 수입니다.

예외

index 또는 count가 0보다 작거나 indexCount보다 크거나 같은 경우 발생합니다.

indexcount가 이 컬렉션에서 유효 범위를 지정하지 않는 경우 발생합니다.

설명

제거 된 컬렉션 항목을 반영 하기 위해 나머지 컬렉션 항목에 대 한 인덱스를 조정할 수 있습니다.

적용 대상

추가 정보