问题描述:

This question already has an answer here:

  • Populate XDocument from String

    4 answers

网友答案:

XDocument.Parse(yourvariable)

http://msdn.microsoft.com/en-us/library/system.xml.linq.xdocument.parse.aspx

相关阅读:
Top