XmlHelperAddNewElement Method (XmlDocument, String, Double) |
Adds a new XML element to an XML document.
Namespace: com.softwarekey.Client.UtilsAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntax public static XmlElement AddNewElement(
ref XmlDocument xml,
string tagName,
double value
)
Public Shared Function AddNewElement (
ByRef xml As XmlDocument,
tagName As String,
value As Double
) As XmlElement
public:
static XmlElement^ AddNewElement(
XmlDocument^% xml,
String^ tagName,
double value
)
Parameters
- xml
- Type: System.XmlXmlDocument
The XmlDocument to which the element will be added. - tagName
- Type: SystemString
The tag name of the element which will be added. - value
- Type: SystemDouble
The double value in the element which will be added.
Return Value
Type:
XmlElementReturns a reference to the newly created XmlElement.
See Also