編輯

共用方式為


XmlTextReader.IXmlNamespaceResolver.LookupNamespace(String) Method

Definition

For a description of this member, see LookupNamespace(String).

 virtual System::String ^ System.Xml.IXmlNamespaceResolver.LookupNamespace(System::String ^ prefix) = System::Xml::IXmlNamespaceResolver::LookupNamespace;
string IXmlNamespaceResolver.LookupNamespace (string prefix);
abstract member System.Xml.IXmlNamespaceResolver.LookupNamespace : string -> string
override this.System.Xml.IXmlNamespaceResolver.LookupNamespace : string -> string
Function LookupNamespace (prefix As String) As String Implements IXmlNamespaceResolver.LookupNamespace

Parameters

prefix
String

The prefix whose namespace URI you wish to find.

Returns

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

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the XmlTextReader instance is cast to an IXmlNamespaceResolver interface.

Applies to

See also