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

XmlNode::Supports method

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

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

ReturnValue

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

备注

以下表格描述了返回 true 的组合。
功能版本
XML1.0
XML2.0

另见