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

System.Xml.XmlNamespaceManager.LookupPrefix Method

Gets the prefix associated with the given namespace URI.

public virtual string LookupPrefix (string uri)

Parameters

uri
A string containing the namespace to resolve for the prefix.

Returns

A string containing the matching prefix. If there is no mapped prefix, this method returns null. If a null value is supplied, then null is returned.

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.

Requirements

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