DataGridViewSelectedRowCollection.IList.Insert(Int32, Object) 메서드

정의

Insert(Int32, Object) 메서드를 구현합니다. 항상NotSupportedException을 throw합니다.

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, value As Object) Implements IList.Insert

매개 변수

index
Int32

value를 삽입할 인덱스입니다.

value
Object

DataGridViewSelectedRowCollection에 추가할 개체입니다.

구현

예외

항상 throw됩니다.

설명

변경할 수 없습니다는 DataGridViewSelectedRowCollection 클래스를 직접. 행을 추가 하는 DataGridViewSelectedRowCollection를 사용 하 여를 DataGridViewBand.Selected 속성입니다.

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

적용 대상

추가 정보