BaseComboBoxCellObjectCollectionAdd Method

Add an item to the collection

Definition

Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public int Add(
	Object item
)

Parameters

item  Object
The item to add

Return Value

Int32
The index of the added item

Exceptions

ArgumentNullExceptionThis is thrown if the item is null
ArgumentExceptionThis is thrown if an attempt is made to add an item to the collection when a data source is in use.

See Also