System::Xml::XmlNode::Supports 方法

XmlNode::Supports method

测试 DOM 实现是否实现了特定功能。

virtual bool System::Xml::XmlNode::Supports(String feature, String version)
ParameterType描述
特性字符串要测试的功能的包名称。此名称不区分大小写。
版本字符串要测试的包名称的版本号。如果未指定版本(null),则支持该特性的任何版本会导致方法返回 true。

ReturnValue

true if the feature is implemented in the specified version; otherwise, false.

备注

下表描述了返回 true 的组合。
特性版本
XML1.0
XML2.0

另见