Summary
Returns an XmlNode representing the current object after
adding it as a child of the supplied parent node.
- Namespace
- TCLite
.Interfaces - Containing Type
- IXmlNodeBuilder
Syntax
XmlNode AddToXml(XmlNode parentNode, bool recursive)
Parameters
Name | Type | Description |
---|---|---|
parentNode | XmlNode | The parent node. |
recursive | bool | If true, children are included, where applicable |
Return Value
Type | Description |
---|---|
XmlNode |