Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27348

Jumping to the last Node

$
0
0
Hi Guys, I am looping through Nodes using the iteration :

For Each nod As XmlNode In XmlPage.DocumentElement.ChildNodes

If Nod.Name = "xyyz" Then

....Jump to the last node.....

End if


Next Nod

This is easy if you simply exit the loop (Exit For). But I want to jump to the last node. How can I do that in vb.net? Thanks for helping.

Viewing all articles
Browse latest Browse all 27348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>