System.Xml.XmlAttributeCollection.Append Method

Inserts the specified attribute as the last node in the collection.

Syntax

public XmlAttribute Append (XmlAttribute node)

Parameters

node
The System.Xml.XmlAttribute to insert.

Returns

The XmlAttribute to append to the collection.

Remarks

If an attribute with the same name is already present in the collection, the original attribute is removed from the collection and node is added to the end of the collection.

This method is a Microsoft extension to the Document Object Model (DOM).

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0