ImportNode()
XmlDocument::ImportNode(SharedPtr<XmlNode>, bool) method
Imports a node from another document to the current document.
virtual SharedPtr<XmlNode> System::Xml::XmlDocument::ImportNode(SharedPtr<XmlNode> node, bool deep)
Arguments
| Parameter | Type | Description |
|---|---|---|
| node | SharedPtr<XmlNode> | The node being imported. |
| deep | bool | true to perform a deep clone; otherwise, false. |
Return Value
The imported XmlNode.
Exceptions
| Exception | Description |
|---|---|
| InvalidOperationException | Calling this method on a node type which cannot be imported. |
See Also
- Typedef SharedPtr
- Class XmlNode
- Class XmlDocument
- Namespace System::Xml
- Library Aspose.Slides