BaseComboBoxCellObjectCollectionAdd Method

Add an item to the collection

Definition

Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.18.0+3a863295c73252b22e8ab6862ed6bdc57bcbd0fc
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