BindingSource::IndexOf Method (Object^)
.NET Framework (current version)
Searches for the specified object and returns the index of the first occurrence within the entire list.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- value
-
Type:
System::Object^
The Object to locate in the underlying list represented by the List property. The value can be null.
Return Value
Type: System::Int32The zero-based index of the first occurrence of the value parameter; otherwise, -1 if value is not in the list.
Implements
IList::IndexOf(Object^)Although the implementation is dependent on the underlying list's IndexOf method, typically the following characteristics apply:
.NET Framework
Available since 2.0
Available since 2.0
Show: