Click or drag to resize
XmlUtilsXmlAddAttribute Method
Creates a new attribute with the name attributeName and the value attributeValue in the attributeCollection of the node parentNode, using the parentNode's owner document

Namespace:  SD.LLBLGen.Pro.Core.Xml
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public static XmlAttribute XmlAddAttribute(
	XmlNode parentNode,
	string attributeName,
	string attributeValue
)

Parameters

parentNode
Type: System.XmlXmlNode
the attribute's parent node
attributeName
Type: SystemString
the name for the new attribute
attributeValue
Type: SystemString
the value for the new attribute

Return Value

Type: XmlAttribute
the new attribute
See Also