System::Xml::XmlNamespaceManager::HasNamespace 方法

XmlNamespaceManager::HasNamespace method

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

virtual bool System::Xml::XmlNamespaceManager::HasNamespace(String prefix)
ParameterType描述
prefix字符串您想要查找的命名空间的前缀。

ReturnValue

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

另见