Element.TextContent
Element.TextContent property
This attribute returns the text content of this node and its descendants. When it is defined to be null, setting it has no effect. On setting, any possible children this node may have are removed and, if it the new String is not empty or null, replaced by a single Text node containing the String this attribute is set to.
public String TextContent { get; set; }
Property Value
The content of the text.
See Also
- class Element
- package com.aspose.html.Dom
- package Aspose.HTML