need help with 1 line of code now!

  • Thread starter Thread starter Marc
  • Start date Start date
M

Marc

OK i think im nealry there....the only error I am getting is with this
piece of code

Dim btnList As List = New List(Of AttributeContainer)

It cannot find 'List', not sure what to replace it with?
 
Marc,

List expects the (of Type) it is not just List

Dim btnList As New List(Of AttributeContainer)

Ken
 
Marc said:
OK i think im nealry there....the only error I am getting is with this
piece of code

Dim btnList As List = New List(Of AttributeContainer)

It cannot find 'List', not sure what to replace it with?


\\\
Imports System.Collections.Generic
....
Dim ButtonList As New List(Of AttributeContainer)()
///
 
Back
Top