I've been trying to serialize an object along with its arrays, but I only get the direct children of the objects for some reason. This is what comes out in the XML in place of the array contents:
My code is this:
Where GD is an object with Strings and the two arrays seen above.
Thanks.
Code:
<chaptertitle>
<anyType xsi:nil="true" />
</chaptertitle>
<chaptercontent>
<anyType xsi:nil="true" />
</chaptercontent>Code:
Imports System.IO
Imports System.Xml.Serialization
'...
Dim objStreamWriter As New StreamWriter(guide & ".chp")
Dim xmlWrite As New XmlSerializer(GD.GetType)
xmlWrite.Serialize(objStreamWriter, GD)Thanks.