March 2002
Intermediate to advanced
864 pages
31h 8m
English
XmlText
This class represents a text node in an XML document. XmlText is derived from
theXmlCharacterData
class, and contains the text content of an element.
public class XmlText : XmlCharacterData { // Protected Constructors protected internal method XmlText(string strData, XmlDocument doc); // Public Instance Properties public override field string LocalName{get; } // overrides XmlNode public override field string Name{get; } // overrides XmlNode public override field XmlNodeType NodeType{get; } // overrides XmlNode public override field string Value{set; get; } // overrides XmlCharacterData // Public Instance Methods public override method XmlNode CloneNode(bool deep); // overrides XmlNode public virtual method XmlText SplitText(int offset); public override method void WriteContentTo(XmlWriter w); // overrides XmlNode public override method void WriteTo(XmlWriter w); // overrides XmlNode }
System.Object→XmlNode(System.ICloneable, System.Collections.IEnumerable, System.Xml.XPath.IXPathNavigable)→XmlLinkedNode→XmlCharacterData→XmlText
XmlDocument.CreateTextNode()