LookupNamespace()

XmlReader::LookupNamespace(const String&) method

When overridden in a derived class, resolves a namespace prefix in the current element’s scope.

virtual String System::Xml::XmlReader::LookupNamespace(const String &prefix)=0

Arguments

ParameterTypeDescription
prefixconst String&The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string.

Return Value

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

See Also