- newNode
- The System.Xml.XmlAttribute to insert.
- refNode
- The System.Xml.XmlAttribute that is the reference attribute. newNode is placed before the refNode.
The XmlAttribute to insert into the collection.
If an attribute with the same name is already present in the collection, the original attribute is removed from the collection and newNode is inserted into the collection. If refNode is null, newNode is inserted at the end of the collection.
This method is a Microsoft extension to the Document Object Model (DOM).