XmlReader.LookupNamespace Method

Resolves a namespace prefix in the current element's scope.

Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)

Syntax

public virtual abstract string LookupNamespace (
         stringprefix
)

Parameters

  • prefix
    The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string.

Return Value

A namespace prefix in the current element's scope.

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

XmlReader Class
XmlReader Members
System.Xml Namespace