XElement.Attribute returns the XAttribute of this XElement that has the specified XName.
Imports System
Imports System.Xml
Imports System.Xml.XPath
Public Class MainClass
Public Shared Sub Main()
Dim xmlTree As XElement = <Root Att="attribute content"/>
Dim att As XAttribute = xmlTree.Attribute("Att")
Console.WriteLine(att)
End Sub
End Class