InsertAfter()
Contents
[
Hide
]XmlNode::InsertAfter(SharedPtr<XmlNode>, SharedPtr<XmlNode>) method
Inserts the specified node immediately after the specified reference node.
virtual SharedPtr<XmlNode> System::Xml::XmlNode::InsertAfter(SharedPtr<XmlNode> newChild, SharedPtr<XmlNode> refChild)
Arguments
| Parameter | Type | Description |
|---|---|---|
| newChild | SharedPtr<XmlNode> | The node to insert. |
| refChild | SharedPtr<XmlNode> | The reference node. newChild is placed after refChild. |
Return Value
The node being inserted.
Exceptions
| Exception | Description |
|---|---|
| InvalidOperationException | This node is of a type that does not allow child nodes of the type of the newChild node. The newChild is an ancestor of this node. |
| ArgumentException | The newChild was created from a different document than the one that created this node. The refChild is not a child of this node. This node is read-only. |
See Also
- Typedef SharedPtr
- Class XmlNode
- Namespace System::Xml
- Library Aspose.Slides