The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
XmlNamespaceManager::HasNamespace Method (String^)
.NET Framework (current version)
Gets a value indicating whether the supplied prefix has a namespace defined for the current pushed scope.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- prefix
-
Type:
System::String^
The prefix of the namespace you want to find.
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.
Note |
|---|
xmlns:x= "" is illegal according to the W3C Namespaces recommendation. |
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show:
