DataGridViewComboBoxCell.ObjectCollection.AddRange 메서드

정의

DataGridViewComboBoxCell의 항목 목록에 항목 그룹을 추가합니다.

오버로드

AddRange(Object[])

DataGridViewComboBoxCell의 항목 목록에 항목을 하나 이상 추가합니다.

AddRange(DataGridViewComboBoxCell+ObjectCollection)

DataGridViewComboBoxCell.ObjectCollection의 항목 목록에 기존 DataGridViewComboBoxCell 항목을 추가합니다.

AddRange(Object[])

DataGridViewComboBoxCell의 항목 목록에 항목을 하나 이상 추가합니다.

public:
 void AddRange(... cli::array <System::Object ^> ^ items);
public void AddRange (params object[] items);
member this.AddRange : obj[] -> unit
Public Sub AddRange (ParamArray items As Object())

매개 변수

items
Object[]

드롭다운 목록의 항목을 나타내는 하나 이상의 개체입니다.

또는 Array 값의 Object입니다.

예외

items이(가) null인 경우

items 배열의 항목 중 하나 이상이 null인 경우

또는

셀이 공유 행에 있는 경우

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

추가 정보

적용 대상

AddRange(DataGridViewComboBoxCell+ObjectCollection)

DataGridViewComboBoxCell.ObjectCollection의 항목 목록에 기존 DataGridViewComboBoxCell 항목을 추가합니다.

public:
 void AddRange(System::Windows::Forms::DataGridViewComboBoxCell::ObjectCollection ^ value);
public void AddRange (System.Windows.Forms.DataGridViewComboBoxCell.ObjectCollection value);
member this.AddRange : System.Windows.Forms.DataGridViewComboBoxCell.ObjectCollection -> unit
Public Sub AddRange (value As DataGridViewComboBoxCell.ObjectCollection)

매개 변수

예외

value이(가) null인 경우

value 컬렉션의 항목 중 하나 이상이 null인 경우

또는

셀이 공유 행에 있는 경우

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

추가 정보

적용 대상