Properties Marked As Obsolete() Are Not Serialized



TODO:

Have you ever marked a property as Obsolete(), and noticed that it is empty whe DeSerialzie occurs.

 

SOLUTION:

It appears that Obsolete() is the same as XmlIgnore().  I found this article interesting in explaining why this happens: connect.microsoft.com

 

NOTES:

There are no notes on this topic.



Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading