Mega Code Archive
Gets the root XmlElement for the document
Option Strict
Option Explicit
Imports System
Imports System.IO
Imports System.Xml
Public Class Sample
Public Shared Sub Main()
'Create the XmlDocument.
Dim doc As New XmlDocument()
doc.LoadXml("" & _
"" & _
"C#" & _
"")
'Display the document element.
Console.WriteLine(doc.DocumentElement.OuterXml)
End Sub 'Main
End Class 'Sample