Enumerate Attributes of an XML Node in C#.NET



Enumerate Attributes of an XML Node in C#.NET

//Assembly: System.XML.dll
//using System.Xml
 public static void Enum( XmlNode Node)
{
XmlAttributeCollection attributes =Node.Attributes;
foreach (XmlAttribute attr in  attributes)
{
    //dosomething 
}
}

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.