Append a node as a child of another node. If the target and source
nodes do not have the same owner document then the source is imported into
the target's document. If the source is an XmlDocumentFragment then the children
of the source are each appended in order to the target.
Namespace: DXMLBase.XdsAssembly: DXMLBase (in DXMLBase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static XmlNode appendNode(
XmlNode target,
XmlNode source
)
Public Shared Function appendNode (
target As XmlNode,
source As XmlNode
) As XmlNode
public:
static XmlNode^ appendNode(
XmlNode^ target,
XmlNode^ source
)
static member appendNode :
target : XmlNode *
source : XmlNode -> XmlNode
Parameters
- target
- Type: System.XmlXmlNode
The node to which to append to source node. - source
- Type: System.XmlXmlNode
The node to append to the target node.
Return Value
Type:
XmlNodeThe first node that was appended.
See Also