XmlUtil.ResolveQName(XmlReader, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if the prefix on a name maps to a namespace that is in scope the reader.
public static System.Xml.XmlQualifiedName ResolveQName (System.Xml.XmlReader reader, string qualifiedString);
static member ResolveQName : System.Xml.XmlReader * string -> System.Xml.XmlQualifiedName
Public Shared Function ResolveQName (reader As XmlReader, qualifiedString As String) As XmlQualifiedName
Parameters
- qualifiedString
- String
the qualifiedName to check.
Returns
a XmlQualifiedName with the namespace that was in scope. If the prefix was not in scope, the namespace will be null.
Exceptions
if qualifiedString
is null.