System::Xml::XmlNamespaceManager::HasNamespace method

XmlNamespaceManager::HasNamespace method

Returns a value indicating whether the supplied prefix has a namespace defined for the current pushed scope.

virtual bool System::Xml::XmlNamespaceManager::HasNamespace(String prefix)
ParameterTypeDescription
prefixStringThe prefix of the namespace you want to find.

ReturnValue

true if there is a namespace defined; otherwise, false.

See Also