DataGridViewSelectedRowCollection.IList.Add(Object) 메서드

정의

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

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add

매개 변수

value
Object

DataGridViewSelectedRowCollection에 추가할 항목입니다.

반환

Int32

value가 삽입된 인덱스입니다.

구현

예외

항상 throw됩니다.

설명

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

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

적용 대상

추가 정보