Imports System Imports System.Reflection Imports System.Xml Module Module1 Sub Main() Dim xml As XElement = XElement.Load("People.xml") Dim role As XElement = xml.Descendants("role").First() Console.WriteLine(role) role.SetElementValue("description", "Actor") Console.WriteLine(role) End Sub End Module