LookupNamespace()

XmlTextReader::LookupNamespace(const String&) method

Resolves a namespace prefix in the current element’s scope.

String System::Xml::XmlTextReader::LookupNamespace(const String &prefix) override

Arguments

ParameterTypeDescription
prefixconst String&The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string. This string does not have to be atomized.

Return Value

The namespace URI to which the prefix maps or nullptr if no matching prefix is found.

See Also