HasNamespace()

XmlNamespaceManager::HasNamespace(String) 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)

Arguments

ParameterTypeDescription
prefixStringThe prefix of the namespace you want to find.

Return Value

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

See Also