XdmReader.LookupNamespace MethodXdmReader.LookupNamespace MethodXdmReader::LookupNamespace Method

When overridden in a derived class, resolves a namespace prefix in the current element's scope.

Syntax

Public Overrides Function LookupNamespace( _
    prefix As String _
) As String
public override string LookupNamespace(
    string prefix
)
public:
virtual String^ LookupNamespace(
    String^ prefix
) override
 

Parameters

prefix

Type: System.StringSystem.StringSystem::String^

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

Return Value

Type: System.StringSystem.StringSystem::String^

The namespace URI to which the prefix maps or null if no matching prefix is found.