Click or drag to resize

XmlHelpAddElement Method

Adds an XmlNode to the parent node.

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.0.8475.0
Syntax
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
ExceptionCondition
ArgumentNullExceptionThrown if parent is null.
See Also