franklin gray [mailto:[EMAIL PROTECTED]] wrote:

>     <Xml.Serialization.XmlArray()> _
>     Public Property Array() As ArrayList

You need an XmlArrayItemAttribute that tells the serializer what type of
object to expect in the ArrayList and how to serialize it. So for your
example try this:

<codeSnippet language="VB.NET">

<Xml.Serialization.XmlArray()> _
<Xml.Serialization.XmlArrayItem(GetType(ArrayItem))> _
Public Property Array() As ArrayList

...

End Property

</codeSnippet>

HTH,
Drew

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to