Gets or sets the concatenated values of the node and all its children.
Imports System
Imports System.Xml
publicclass Test
public shared sub Main()
Dim doc as XmlDocument = new XmlDocument()
doc.LoadXml("<root>"& _
"<elem>some text<child/>more text</elem>" & _
"</root>")
Dim elem as XmlElement
elem = CType (doc.DocumentElement.ChildNodes.Item(0), XmlElement)
Console.WriteLine( elem.InnerText )
end sub
end class