Click here to Skip to main content
16,005,473 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Control Customization via XML Pin
michael_jhons21-Jan-10 3:00
michael_jhons21-Jan-10 3:00 
GeneralRe: Control Customization via XML Pin
Estys21-Jan-10 7:37
Estys21-Jan-10 7:37 
GeneralRe: Control Customization via XML Pin
michael_jhons26-Jan-10 8:06
michael_jhons26-Jan-10 8:06 
GeneralRe: Control Customization via XML Pin
michael_jhons27-Jan-10 11:36
michael_jhons27-Jan-10 11:36 
QuestionSpecifying the xml deserialization order Pin
Mehdi_S18-Jan-10 23:32
Mehdi_S18-Jan-10 23:32 
AnswerRe: Specifying the xml deserialization order Pin
Eddy Vluggen19-Jan-10 4:03
professionalEddy Vluggen19-Jan-10 4:03 
GeneralRe: Specifying the xml deserialization order Pin
Mehdi_S19-Jan-10 5:04
Mehdi_S19-Jan-10 5:04 
GeneralRe: Specifying the xml deserialization order Pin
Eddy Vluggen19-Jan-10 9:27
professionalEddy Vluggen19-Jan-10 9:27 
Mehdi_S wrote:
How can I specify that the professor elements has to be all deserealized before the student elements no matter how they are ordered in the xml document.


Taking your example; there's a difference in getting an order in the properties and getting an order in the items within the collection. You can change the order of the properties by adding those tags to the Person class. The collection would be serialized using that information.

Implementing ISerializable[^] or even IXmlSerializable[^] would be more appropriate for complexer structures. That way you can control the order of the properties and the data. There's a really nice CodeProject article on IXmlSerializable here[^].

Good luck Smile | :)

I are Troll Suspicious | :suss:

QuestionLoad methods from dll dynamically in application Pin
pdnet18-Jan-10 18:21
pdnet18-Jan-10 18:21 
AnswerRe: Load methods from dll dynamically in application Pin
Estys18-Jan-10 23:56
Estys18-Jan-10 23:56 
GeneralRe: Load methods from dll dynamically in application Pin
pdnet19-Jan-10 2:20
pdnet19-Jan-10 2:20 
GeneralRe: Load methods from dll dynamically in application [modified] Pin
Estys19-Jan-10 2:56
Estys19-Jan-10 2:56 
QuestionAddon framework Pin
Adriaan Davel17-Jan-10 23:38
Adriaan Davel17-Jan-10 23:38 
AnswerRe: Addon framework Pin
Not Active18-Jan-10 2:01
mentorNot Active18-Jan-10 2:01 
GeneralRe: Addon framework Pin
Adriaan Davel18-Jan-10 3:02
Adriaan Davel18-Jan-10 3:02 
GeneralRe: Addon framework Pin
Not Active18-Jan-10 5:36
mentorNot Active18-Jan-10 5:36 
AnswerRe: Addon framework Pin
Pete O'Hanlon18-Jan-10 3:06
mvePete O'Hanlon18-Jan-10 3:06 
GeneralRe: Addon framework Pin
Adriaan Davel18-Jan-10 19:24
Adriaan Davel18-Jan-10 19:24 
GeneralRe: Addon framework Pin
Pete O'Hanlon18-Jan-10 21:48
mvePete O'Hanlon18-Jan-10 21:48 
Questionproblem in vb.net coding Pin
emma watson16-Jan-10 7:33
emma watson16-Jan-10 7:33 
AnswerRe: problem in vb.net coding Pin
Eddy Vluggen16-Jan-10 8:56
professionalEddy Vluggen16-Jan-10 8:56 
AnswerRe: problem in vb.net coding Pin
elizas18-Jan-10 3:18
elizas18-Jan-10 3:18 
Question3D Software Pin
ashwath197914-Jan-10 23:45
ashwath197914-Jan-10 23:45 
AnswerRe: 3D Software Pin
Not Active15-Jan-10 3:00
mentorNot Active15-Jan-10 3:00 
GeneralRe: 3D Software Pin
Neil Haughton9-Aug-10 21:50
Neil Haughton9-Aug-10 21:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.