开发者

how to load a XDocument when the xml is in a string variable? [duplicate]

This question already has answers here: Populate XDocument from String (4 answers) Closed 9 years ago.

How do I load开发者_如何学JAVA an XDocument when the xml is in a string variable?


XDocument.Parse(yourvariable)

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜