System::Xml::XmlNamespaceManager::HasNamespace method

XmlNamespaceManager::HasNamespace method

返回一个值,指示提供的前缀在当前推送的作用域中是否已定义命名空间。

virtual bool System::Xml::XmlNamespaceManager::HasNamespace(String prefix)
参数类型描述
前缀String您想要查找的命名空间前缀。

ReturnValue

true if there is a namespace defined; otherwise, false.

另见