Click or drag to resize

XmlHelpAddAttribute Method

Adds an XmlAttribute to the parent node.

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

Parameters

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

Return Value

XmlNode
An XmlAttribute.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if parent is null.
See Also