XNamespace.Xmlns Property gets the XNamespace object that corresponds to the xmlns URI (http://www.w3.org/2000/xmlns/).
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