Reads the current element and returns the contents as a 64-bit signed integer.
Imports System
Imports System.IO
Imports System.Xml
Public Class Sample
Public Shared Sub Main()
Using reader As XmlReader = XmlReader.Create("dataFile.xml")
reader.ReadToFollowing("longValue")
Dim number As Long = reader.ReadElementContentAsLong()
End Using
End Sub
End Class