Mega Code Archive

 
Categories / VB.Net / XML LINQ
 

XElement Parse (String) Loads an XElement from a string that contains XML

Imports System Imports System.Xml Imports System.Xml.XPath Public Class MainClass     Public Shared Sub Main()         Dim xmlTree As XElement = <Root><Child></Child></Root>         Console.WriteLine(xmlTree)     End Sub End Class