XmlReader.LookupNamespace Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, resolves a namespace prefix in the current element's scope.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- prefix
- Type: System.String
The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string.
Return Value
Type: System.StringThe namespace URI to which the prefix maps or null if no matching prefix is found.
Show: