Get version from XDocument
Imports System Imports System.Reflection Imports System.Xml Module Module1 Sub Main() Dim xml As XDocument = XDocument.Load("Hello_XLINQ.xml") Console.WriteLine("Version: {0}", xml.Declaration.Version) End Sub End Module