how to check a node whether exist before item("name") under System.Xml.XmlNode?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
node.Item("SendingTime") will get error if not exist in xml file
if not knowing the structure or path in xml file of specific node
how to check whether exist
<pre class="prettyprint node = new System.Xml.XmlNode
node.Item("SendingTime")[/code]
<br/>

View the full article
 
Back
Top