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)()
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top