DataGridViewComboBoxCell.ObjectCollection.IList.Add(Object) 메서드

정의

컬렉션에 개체를 추가합니다.

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

매개 변수

item
Object

컬렉션에 추가할 개체입니다.

반환

Int32

새 요소를 삽입할 위치입니다.

구현

예외

item이(가) null인 경우

셀의 DataSource 속성 값이 null이 아닌 경우

셀이 공유 행에 있는 경우

설명

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

적용 대상

추가 정보