From: ray on
How can I do a IndexOf or Contains with ArrayList when the ArrayList items
are Structure data?

for example:
Private Structure mystruct
Public displayid As Integer
Public displayType As String
Public displayValue As String
End Structure

Dim InstanceofMyClass As mystruct

While dbread.Read()
With InstanceofMyClass
.displayid = dbread("displayid")
.displayType = dbread("display_type")
.displayValue = dbread("display_value")
End With
MyArrayList.add(InstanceofMyClass)
End While