System::Xml::XPath::XPathNavigator::LookupPrefix 方法

XPathNavigator::LookupPrefix method

返回为指定的命名空间 URI 声明的前缀。

String System::Xml::XPath::XPathNavigator::LookupPrefix(const String &namespaceURI) override
参数类型描述
namespaceURIconst String&用于解析前缀的命名空间 URI。

ReturnValue

一个包含指定命名空间 URI 所分配的命名空间前缀的 String;如果未为指定的命名空间 URI 分配前缀,则为 String::Empty。返回的 String 已原子化。

另见