I have a little syntax declare problem in VB.Net.
Dim proxy As USImportoerServiceTypeClient = DMRUtils.CreateAndConfigureClient()
Dim request As New USDeclare_I()
request.DeclareCollection = New US_ITypeDeclare() {}
For Each KES In request.DeclareCollection
KES.DeclareCollectionStructure.DeclareCollectionValidDate = DateTime.ParseExact(txtDeclareDate.Text, "dd-MM-yyyy", System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat)
Next
This above code do not work, becase the "US_ITypeDeclare() {}" is empty an only contains a new DeclareCollectionStructure
How do I declare a KoeretoejErklaeringStructure to this an set this date value til "DeclareCollectionStructure.DeclareCollectionValidDate" ?
Best regards from Denmark
For Eachover the array, but the array is empty. Where are the objects suppose to be coming from?