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

System.Xml.XmlNamespaceManager.LookupPrefix Method

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

public virtual string LookupPrefix (string uri)

Parameters

uri
A string containing the namespace to resolve for the prefix. [Edit]

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. [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