locked
How to control sequence of property deserialization from xaml RRS feed

  • Question

  • Hi

    Is there a way I can control the sequence that properties are deserialized from xaml in a workflow. We have a scenario where we woudl like to ensure that a particular property gets deserialized before other properties as we have some logic built around this assumption. According to the MSDN the DependsOnAttribute only works for serialization. (DependsOnAttribute)

    Thanks

    
    
    Thursday, June 28, 2012 3:19 PM

Answers

All replies

  • Hi,

    The following sample shows how to control the order of serialized and deserialized elements for XML serialization.

    Custom Serialization Order With XmlSerializer

    http://msdn.microsoft.com/en-us/library/ms180990.aspx

    • Marked as answer by T Rex Monday, July 2, 2012 6:11 AM
    Monday, July 2, 2012 2:10 AM
  • Thanks I will look into it - I got the idea that xaml serialization and xml serialization were different beasts.
    Monday, July 2, 2012 6:11 AM