I'm using XMLSerializer to serialize a hierarchy of class-based objects to
XML. So far, this is working successfully by employing arrays to handle the
multiplicity of child objects. However, I'm trying to employ the use of
collection classes instead because there are methods I need to implement at
that level. But when I instantiate the XMLSerializer, it gives the error:
There was an error reflecting <Root Type>. If I try using
<XmlArrayAttribute(<child object type>)Public ...
I get the same error.
Is it possible to implement collection classes that the XMLSerializer will
work with, or do I have to stick with arrays? Thanks.