K
Kenny-McG
Guest
Is it possible to create something like a jagged array with class structures?
Example below
Public Class Code
Public Property CodeValue As String
Public Property CodeOption As String
Public Property CodeDescription As String
Public Property CodeGraphic As String
End Class
Public Class Field
Public Property FieldName As String
Public Property FieldCode() As Code
End Class
Public Class OP
Public OP_Field(11) As Field
Public Sub New()
'OP_Field(0).FieldCode(5)
'OP_Field(1).FieldCode(24)
'OP_Field(2).FieldCode(4)
'etc .
Thank you
Continue reading...
Example below
Public Class Code
Public Property CodeValue As String
Public Property CodeOption As String
Public Property CodeDescription As String
Public Property CodeGraphic As String
End Class
Public Class Field
Public Property FieldName As String
Public Property FieldCode() As Code
End Class
Public Class OP
Public OP_Field(11) As Field
Public Sub New()
'OP_Field(0).FieldCode(5)
'OP_Field(1).FieldCode(24)
'OP_Field(2).FieldCode(4)
'etc .
Thank you
Continue reading...