Mega Code Archive
XContainer Element gets the first in document order child element with the specified XName
Imports System
Imports System.Xml
Imports System.Xml.XPath
Public Class MainClass
Public Shared Sub Main()
Dim srcTree As XElement = _
1
2
3
4
5
Dim xmlTree As XElement = _
1
2
3
4
5
<%= srcTree. %>
<%= srcTree. %>
Console.WriteLine(xmlTree)
End Sub
End Class