DataGridViewSelectedRowCollection.IList.Insert(Int32, Object) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.