Base Combo Box CellObject CollectionIndex Of 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.31.0
The index of the item or -1 if not found
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public int IndexOf(
Object? value
)VB
Public Function IndexOf (
value As Object
) As IntegerC++
public:
virtual int IndexOf(
Object^ value
) sealedF#
abstract IndexOf :
value : Object -> int
override IndexOf :
value : Object -> int Parameters
- value Object
- The value for which to get the index
Return Value
Int32The index of the item or -1 if not found
Implements
IListIndexOf(Object)Exceptions
| ArgumentNullException | This is thrown if the item is null |