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.10.0.0 (5.10.0)
Syntax public virtual XmlAttribute AddAttribute(
XmlNode parentNode,
string attributeName,
string attributeValue
)
Public Overridable Function AddAttribute (
parentNode As XmlNode,
attributeName As String,
attributeValue As String
) As XmlAttribute
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:
XmlAttributethe new attribute
See Also