AddElement Method
- Last UpdatedNov 06, 2025
- 1 minute read
This override adds an element and its text to the LAST added element in the XML doc Throws exception if the call fails eg if the current element does not exist
| Overload | Description |
|---|---|
| AddElement(String,String) | This override adds an element and its text to the LAST added element in the XML doc Throws exception if the call fails eg if the current element does not exist |
| AddElement(XmlElement,String,String) | This override adds an element and its text to the specified parent XMLElement object in the XML doc Throws exception if the call fails |
| AddElement(String,String,String) | This override adds an element and its text to the specified parent node (by name) in the XML doc Searches for the first parentNodeName in the XML document starting at the root node |