XdmReader.LookupPrefix MethodXdmReader.LookupPrefix MethodXdmReader::LookupPrefix Method

Gets the prefix that is mapped to the specified namespace URI.

Syntax

Public Function LookupPrefix( _
    namespaceName As String _
) As String
public string LookupPrefix(
    string namespaceName
)
public:
virtual String^ LookupPrefix(
    String^ namespaceName
) sealed
 

Parameters

namespaceName

Type: System.StringSystem.StringSystem::String^

The namespace URI whose prefix you wish to find.

Return Value

Type: System.StringSystem.StringSystem::String^

The prefix that is mapped to the namespace URI; null if the namespace URI is not mapped to a prefix.