IText
public interface IText : ICharacterData, INode, IEventTarget, IMarkupFormattable, IChildNode, INonDocumentTypeChildNode
The Text interface represents the textual content of Element or Attr.
If an element has no markup within its content, it has a single child
implementing Text that contains the element's text. However, if the
element contains markup, it is parsed into information items and Text
nodes that form its children.
using AngleSharp.Attributes;
using System.Runtime.CompilerServices;
namespace AngleSharp.Dom
{
[DomName("Text")]
public interface IText : ICharacterData, INode, IEventTarget, IMarkupFormattable, IChildNode, INonDocumentTypeChildNode
{
[System.Runtime.CompilerServices.Nullable(1)]
[DomName("wholeText")]
string Text {
[System.Runtime.CompilerServices.NullableContext(1)]
get;
}
[System.Runtime.CompilerServices.Nullable(2)]
[DomName("assignedSlot")]
IElement AssignedSlot {
[System.Runtime.CompilerServices.NullableContext(2)]
get;
}
[System.Runtime.CompilerServices.NullableContext(1)]
[DomName("splitText")]
IText Split(int offset);
}
}