1 // HtmlAgilityPack V1.0 - Simon Mourier <simon underscore mourier at hotmail dot com>
2 namespace HtmlAgilityPack
5 /// Represents an HTML text node.
7 public class HtmlTextNode
: HtmlNode
17 internal HtmlTextNode(HtmlDocument ownerdocument
, int index
)
19 base(HtmlNodeType
.Text
, ownerdocument
, index
)
28 /// Gets or Sets the HTML between the start and end tags of the object. In the case of a text node, it is equals to OuterHtml.
30 public override string InnerHtml
32 get { return OuterHtml; }
33 set { _text = value; }
37 /// Gets or Sets the object and its content in HTML.
39 public override string OuterHtml
45 return base.OuterHtml
;
52 /// Gets or Sets the text of the node.
60 return base.OuterHtml
;
64 set { _text = value; }