## XmlNode::Supports method


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

```cpp
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** 的组合。 |||
|-|-|
| 功能 | 版本 |
| XML | 1.0 |
| XML | 2.0 |

## 另见

* Class [String](../../../system/string/)
* Class [XmlNode](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
