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.XmlAssembly: SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.0.0.0 (5.0.0)
Syntax public static XmlAttribute XmlAddAttribute(
XmlNode parentNode,
string attributeName,
string attributeValue
)
Public Shared Function XmlAddAttribute (
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