Mono Class Library: System.Xml.XmlNamespaceManager Overview | MembersSystem.Xml.XmlNamespaceManager.HasNamespace Method |
Gets a value indicating whether the supplied prefix has a namespace defined for the current pushed scope. [Edit]
|
A bool where true indicates there is a namespace defined; otherwise, false. If prefix is null, returns false. [Edit]
Operation
As described above.When prefix is set to string.Empty, this method returns true to indicate a default empty namespace is defined in the current scope.
Note to Inheritors
Override this method to customize the behavior of this method in types derived from the System.Xml.XmlNamespaceManager class. [Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0