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.6.0.0 (5.6.19.0117)
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