XmlTextReader.IXmlNamespaceResolver.LookupNamespace(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈