System::Xml::XmlNode::GetPrefixOfNamespace method

XmlNode::GetPrefixOfNamespace method

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

virtual String System::Xml::XmlNode::GetPrefixOfNamespace(String namespaceURI)
ParameterTypeDescription
namespaceURIStringThe namespace URI whose prefix you want to find.

ReturnValue

The prefix for the specified namespace URI.

See Also