DelegatingXmlReader.LookupNamespace MethodDelegatingXmlReader.LookupNamespace MethodDelegatingXmlReader::LookupNamespace Method

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. This string does not have to be atomized.

Return Value

Type: System.StringSystem.StringSystem::String^

The namespace URI to which the prefix maps or null a null reference (Nothing in Visual Basic) nullptr if no matching prefix is found.