Is there a way to use XDocument in the Application Settings?

Posted by Shimmy on Stack Overflow See other posts from Stack Overflow or by Shimmy
Published on 2010-04-18T20:33:18Z Indexed on 2010/04/18 20:43 UTC
Read the original article Hit count: 192

I have to store a complex type in the application settings. I thought that storing it as XML would work best.

The problem is I don't know how store XML. I prefer to store it as a managed XML rather than using just a string of raw XML having to parse it on each access. I managed to set the Type column of the setting to XDocument, but I was unable to set its value.

Is there a way to use XDocument or XML in application settings?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about application-settings