Mega Code Archive

 
Categories / VB.Net / XML LINQ
 

XNamespace Xml Property gets the XNamespace object that corresponds to the XML URI (http

Imports System Imports System.Xml Imports System.Xml.Schema Class MainClass     Shared Sub Main()         Dim root As XElement = _             <Root xml:space="preserve">                 <Child>content</Child>             </Root>         Console.WriteLine(root)     End Sub End Class