Hi,
I am new to SAP SDK. I am trying to figure out why MS visual studio 2005 is showing Type List is not defined message when in my project reference the system object is already added. I tried adding mscorlib in the reference but VS2005 wouldn't allow it since it is automatically referenced by the project system and cannot be accessed directly. Below is my is sample code:
Public Class InvoiceUnit
Public CardCode As String
Public DocType As SAPbobsCOM.BoDocumentTypes
Public DocDate As Date
Private LINEITEMS As New List(Of InvoiceLineItems)
Sub AddLineItems(ByVal uLineItems As InvoiceLineItems)
LINEITEMS.Add(uLineItems)
End Sub
Public Property LineItems() As List(Of InvoiceLineItems)
Get
Return LINEITEMS
End Get
Set(ByVal value As List(Of InvoiceLineItems))
LINEITEMS = value
End Set
End Property
End Class