How To: Specify the ORDER of attributes written to an XML file???

  • Thread starter Thread starter Steven Van Dyke
  • Start date Start date
S

Steven Van Dyke

I'm using XmlSerializer to write an simple class to an XML file. I expected
that the member data would be written out in the order it appeared in the
class, but it doesn't. Does anyone know what determines the order when a
class is deserialized? Any way to control the order?

Thanks,

Steve
 
Back
Top