I have a class that defines an array (JudgeTableEntity) which contains sets
of data (Judge) - see class below. I want to put several sets of test data
in the array but cannot find the syntax to do so? Can someone point me to
information or an example of how to do this?
Thanks
Wayne
=============== Class Definition ================
Imports System.Xml
Imports System.Xml.Serialization
Imports System.Collections
Public Class ArrayOfJudgeTableEntity
<XmlArray("JudgeTableEntity"), XmlArrayItem("Judge", IsNullable:=True)> _
Public Judges() As Judge
Public Sub New()
End Sub 'New
End Class 'ArrayOfJudgeTableEntity
Public Class Judge
Public JudgeID As String
Public JudgeFirstName As String
Public JudgeLastName As String
Public JudgeType As String
Public Sub New()
End Sub 'New
Public Sub New(ByVal id As String, ByVal fn As String, ByVal ln As String,
ByVal type As String)
JudgeID = id
JudgeType = type
JudgeFirstName = fn
JudgeLastName = ln
End Sub 'New
End Class 'Judge