comp • gb.xml • xmlelement • textcontent

XmlNode.TextContent (gb.xml)

Property TextContent As String

Returns or sets the text content of a node. For text nodes, comments, CDATA sections or attributes, it is simply the value of the node.

For nodes that can have children, this is a concatenation of the TextContent property value of every child node, excluding comments. This is the empty string if the node has no children.

For nodes that can have children, setting this property will remove all the children of the node !

Setting this property with a null string won't ever have any effect.