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

System.Xml.XmlNamespaceManager.LookupNamespace Method

Gets the namespace URI associated with the specified prefix. [Edit]

public virtual string LookupNamespace (string prefix)

Parameters

prefix
A string containing the prefix whose namespace URI to resolve. To match the default namespace, pass string.Empty. [Edit]

Returns

A string containing the namespace URI for prefix, or null if there is no mapped namespace. [Edit]

Remarks

Operation
As described above.

Note to Inheritors
Override this method to customize the behavior of this method in types derived from the System.Xml.XmlNamespaceManager class.

[Edit]

Requirements

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