Searches for the specified var and returns the index of the first occurrence within the entire instance.
Overrides MfListBase.IndexOf()
OutputVar := instance.IndexOf(obj)
Searches for the specified var and returns the index of the first occurrence within the entire instance.
obj
The var to locate in the MfListVar
Returns index of the first occurrence of value within the entire instance.
This method performs a linear search; therefore, this method is an O(n) operation, where n is Count.
If obj is a string var then contains will follow CaseSensitive.