Hi All,
I've searched the documentation and Google for an answer to this but to no
avail.
It seems that System.Version does not serialize to XML. I checked the
documentation and this type is flagged as being Serializable, it has a
default parameterless constructor, and I'm pretty sure it can be binarily
serialized without a problem.
On my example class I have a field as follows:
Public MyVersion As System.Version
I initialise this to a new System.Version(5,5,5,5) before serializing.
After serializing it to an XML file using the XMLSerializer class all I get
in my XML doc is "<MyVersion />" - this seems to imply that none of the
fields in the System.Version class can be serialized into XML?
Can anyone confirm this?
Thanks,
Alex Clark