AppendChild()

XmlAttribute::AppendChild(SharedPtr<XmlNode>) method

Adds the specified node to the end of the list of child nodes, of this node.

SharedPtr<XmlNode> System::Xml::XmlAttribute::AppendChild(SharedPtr<XmlNode> newChild) override

Arguments

ParameterTypeDescription
newChildSharedPtr<XmlNode>The XmlNode to add.

Return Value

The XmlNode added.

Exceptions

ExceptionDescription
InvalidOperationExceptionThis 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.
ArgumentExceptionThe newChild was created from a different document than the one that created this node. This node is read-only.

See Also