XmlHelpAddElement Method

Adds an XmlNode to the parent node.

Definition

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
C#
public static XmlNode AddElement(
	string name,
	string? text,
	XmlNode parent
)

Parameters

name  String
The name of the XmlNode to add.
text  String
The InnerText the XmlNode will have.
parent  XmlNode
The XmlNode to which you want to add this XmlNode.

Return Value

XmlNode
An XmlNode.

Exceptions

ArgumentNullExceptionThrown if parent is null.

See Also