BaseComboBoxCellObjectCollectionIndexOf Method

Get the index of the specified value in the collection

Definition

Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.18.0+3a863295c73252b22e8ab6862ed6bdc57bcbd0fc
public int IndexOf(
	Object? value
)

Parameters

value  Object
The value for which to get the index

Return Value

Int32
The index of the item or -1 if not found

Implements

IListIndexOf(Object)

Exceptions

ArgumentNullExceptionThis is thrown if the item is null

See Also