[This is preliminary documentation and is subject to change.]
Searches for the specified BaseComparator and
returns the zero-based index of the first occurrence within the entire BaseComparatorCollection.
| C# | Visual Basic | Visual C++ |
public int IndexOf( BaseComparator value )
Public Function IndexOf ( _ value As BaseComparator _ ) As Integer
public: int IndexOf( BaseComparator^ value )
- value (BaseComparator)
- The BaseComparator to locate in the BaseComparatorCollection.
The zero-based index of the first occurrence of value within the entire BaseComparatorCollection,
if found; otherwise, -1.