## XmlDocument::ImportNode method


从另一个文档导入节点到当前文档。

```cpp
virtual SharedPtr<XmlNode> System::Xml::XmlDocument::ImportNode(SharedPtr<XmlNode> node, bool deep)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 节点 | SharedPtr\<XmlNode\> | 正在导入的节点。 |
| deep | bool | **true** 表示执行深度克隆；否则为 **false**。 |

### ReturnValue

已导入的 [XmlNode](../../xmlnode/)。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlNode](../../xmlnode/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
