XNamespace.Equals determines whether the specified XNamespace is equal to the current XNamespace.
Imports <xmlns:aw="http://www.domain.com"> Imports System Imports System.Xml Imports System.Xml.Schema Module Module1 Sub Main() Console.WriteLine(GetXmlNamespace(aw) = "http://www.domain.com") End Sub End Module