Mega Code Archive

 
Categories / VB.Net / XML LINQ
 

XElement Value Property gets or sets the concatenated text contents of this element

Imports System Imports System.Xml Imports System.Xml.XPath Public Class MainClass     Public Shared Sub Main()         Dim el As XElement = <Root>This is <b>mixed</b> content</Root>         Console.WriteLine("{0}", el.Value)     End Sub End Class