The namespace URI to which the prefix maps or null if no matching prefix is found.
The System.Xml.XmlValidatingReader class is obsolete in dnprdnext. You can create a validating System.Xml.XmlReader instance by using the System.Xml.XmlReaderSettings class and the erload:System.Xml.XmlReader.Create method. For more information, see Validating XML Data with XmlReader.
In the following XML string, if the reader is positioned on the href attribute, the prefix a is resolved by calling reader.LookupNamespace("a", true). The returned string is urn:456.
Example
<root xmlns:a="urn:456"> <item> <ref href="a:b"/> </item> </root>