Hi,
is there a way to control the order XmlSerializer serializes attributes?
With this class, value is serialized before value. Although it shouldn't
matter, I would like it the other way around, just for style.
<Property value="" label="name" />
public __gc class Property
{
public:
Property();
Property(System::String* l, System::String* v);
[System::Xml::Serialization::XmlAttributeAttribute]
__property System::String* get_label();
__property void set_label(System::String* l);
[System::Xml::Serialization::XmlAttributeAttribute]
__property System::String* get_value();
__property void set_value(System::String* v);
[System::Xml::Serialization::XmlTextAttribute]
__property System::String* get_Content();
__property void set_Content(System::String* s);
private:
System::String* m_label, *m_value, *m_content;
};
--
Daniel