' VFP inlist equivalent ' expO1 Item where all the items will be tried to look into ' expO2 Param array for a list of items Public Function Inlist(ByVal toItem As IComparable, ByVal ParamArray toItems() As IComparable) As Boolean Return Array.IndexOf(toItems, toItem) <> -1 End FunctionBut, if this method is called from a method that has been initiated with Reflection, it will fail. There seems to be a conflict or a bug between the use of Array when being executed when Reflection is active.