Mega Code Archive
Removes the attribute node with the specified index from the element
Imports System
Imports System.IO
Imports System.Xml
public class Sample
public shared sub Main()
Dim doc as XmlDocument = new XmlDocument()
doc.LoadXml("" & _
"C#" & _
"")
Dim root as XmlElement = doc.DocumentElement
root.RemoveAttributeAt(0)
Console.WriteLine(doc.InnerXml)
end sub
end class