Click or drag to resize

XmlHelperAddAttribute 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.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public virtual XmlAttribute AddAttribute(
	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