Adds a new attribute to the specified xml node.
Namespace: FlightPlanAssembly: FlightPlanXML (in FlightPlanXML.dll) Versión: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static XmlNode AddAttribute( XmlNode node, string attributeName, string textContent ) |
Visual Basic |
---|
Public Shared Function AddAttribute ( _ node As XmlNode, _ attributeName As String, _ textContent As String _ ) As XmlNode |
Visual C++ |
---|
public: static XmlNode^ AddAttribute( XmlNode^ node, String^ attributeName, String^ textContent ) |
Parameters
- node
- Type: System.Xml..::..XmlNode
The xml node where to add the attribute.
- attributeName
- Type: System..::..String
The attribute name.
- textContent
- Type: System..::..String
The attribute value.