AddAttribute Method
- Last UpdatedNov 06, 2025
- 1 minute read
Adds an attribute to the most recently created element Throws exception if call fails for any reason
'Usage
Dim instance As XMLBuilder
Dim AttrName As String
Dim AttrValue As String
instance.AddAttribute(AttrName, AttrValue)
Parameters
- AttrName
- The name of the attribute to add as a string
- AttrValue
- The value of the attribute to add as a string