XDocument.Parse Method (String)
Creates a new XDocument from a string.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
LINQ to XML's loading functionality is built upon XmlReader. Therefore, you might catch any exceptions that are thrown by the XmlReader.Create overload methods and the XmlReader methods that read and parse the document.
The following example creates a string that contains XML. It then parses the string into an XDocument.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.