ArrayList: Contains |
Determines if the list contains a specific value.
Public Function Contains( ByRef Value As Variant ) As Boolean
This method performs a linear search of all elements in the list comparing each element with the value being searched for. If the value is an object, then if it implements the IObject interface the Equals method is used to test equality, otherwise the Is operator is used to compare two objects.