Adds a new XmlElement to the parent node with the specified paramenters.
Namespace: FlightPlanAssembly: FlightPlanXML (in FlightPlanXML.dll) Versión: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static XmlElement AddElement( XmlElement parent, string tagName, string textContent ) |
Visual Basic |
---|
Public Shared Function AddElement ( _ parent As XmlElement, _ tagName As String, _ textContent As String _ ) As XmlElement |
Visual C++ |
---|
public: static XmlElement^ AddElement( XmlElement^ parent, String^ tagName, String^ textContent ) |
Parameters
- parent
- Type: System.Xml..::..XmlElement
The parent node.
- tagName
- Type: System..::..String
The tag name.
- textContent
- Type: System..::..String
The text content in the node.