Mono Class Library: System.Xml.XmlReader Overview | Members

System.Xml.XmlReader.LookupNamespace Method

Resolves a namespace prefix in the scope of the current element. [Edit]

public abstract string LookupNamespace (string prefix)

Parameters

prefix
A string specifying the prefix whose namespace URI is to be resolved. To return the default namespace, specify string.Empty. [Edit]

Returns

A string containing the namespace URI to which the prefix maps. If prefix is not in XmlReader.NameTable or no matching namespace is found, null is returned. [Edit]

Remarks

Operation
As described above.

Note to Inheritors
This method must be overridden in order to provide the functionality described above, as there is no default implementation.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0