Mega Code Archive

 
Categories / VB.Net / XML LINQ
 

XNamespace Xmlns Property gets the XNamespace object that corresponds to the xmlns URI (http

Imports System Imports System.Xml Imports System.Xml.Schema Class MainClass     Shared Sub Main()         Dim root = <aw:Root xmlns:aw="http://www.domain.com">                        <aw:Child>content</aw:Child>                    </aw:Root>         Console.WriteLine(root)     End Sub End Class