System::Xml::XmlNode::GetNamespaceOfPrefix method

XmlNode::GetNamespaceOfPrefix method

Looks up the closest xmlns declaration for the given prefix that is in scope for the current node and returns the namespace URI in the declaration.

virtual String System::Xml::XmlNode::GetNamespaceOfPrefix(String prefix)
ParameterTypeDescription
prefixStringThe prefix whose namespace URI you want to find.

ReturnValue

The namespace URI of the specified prefix.

See Also