Liquid XML Runtime for .Net - Add AttributeCol
In This Topic
This feature has been superseded by Liquid XML Objects.
(The original functionality is still included in the product) |
Use Liquid XML Objects |
public Attribute Add(String attributeName, String attributeValue, String attributeNamespace)
public Attribute Add(String attributeName, String attributeValue)
public Attribute Add(String attributeName)Attribute attrib
public Attribute Add(Attribute attrib)
|
|
Property |
Description |
|
|
|
Property Name |
Add |
|
|
|
Argument - attributeName |
The name of the new attribute to be created |
|
|
|
Argument - attributeValue |
The value of the attribute |
|
|
|
Argument - attributeNamespace |
The namespace the attribute will be a part of (if this is not defined then the namespace is taken from the parent element) |
|
|
|
Argument - attrib |
An existing attribute to copy into this elements collection. |
|
|
|
Returns |
The newly created attribute. |
|
|
|
Description |
Adds an attribute to the end of the collection |
|
|
|
Remarks |
May throw an exception if the namespace is invalid or the attribute already exists in the collection
|
|