System::Xml::XmlReader::LookupNamespace 方法

XmlReader::LookupNamespace method

当在派生类中被重写时,解析当前元素作用域中的命名空间前缀。

virtual String System::Xml::XmlReader::LookupNamespace(const String &prefix)=0
ParameterType描述
prefixconst String&要解析其命名空间 URI 的前缀。若要匹配默认命名空间,请传入空字符串。

ReturnValue

前缀映射到的命名空间 URI,若未找到匹配的前缀则为 nullptr

另见