BindingList as variable?

  • Thread starter Thread starter Shan1986
  • Start date Start date
S

Shan1986

Guest
Hallo,

I have few classes (bindinglists) serialized to .dat files (Equipment.dat, Groceries.dat, Toys.dat) for example

Public EList As New BindingList(Of Equipment)

Public GList As New BindingList(Of Groceries)

Public TList As New BindingList(Of Toys)

Is it possible to de-serialize them by looping ? or better write 3 times the de-serialize function? can i pass the binding list as variable?

Public Function GetList (byval BL as Bindinglist, Byval Typpe as Bindinglist type) as BindingList of() somthing like this?

Thanks

Continue reading...
 
Back
Top