XmlNamespaceManager.HasNamespace Method (String)
Gets a value indicating whether the supplied prefix has a namespace defined for the current pushed scope.
Assembly: System.Xml (in System.Xml.dll)
To determine whether there is a default empty namespace defined, set prefix to String.Empty. A return value of true indicates that there is a default namespace defined in the current scope; false indicates that no default namespace is defined.
xmlns:x= "" is illegal according to the W3C Namespaces recommendation.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1