Name

XmlCDataSection

Synopsis

This class represents a CDATA (character data) section node of a document. A CDATA section is element content that is unparsed; i.e., entities and markup are ignored.

public class XmlCDataSection : XmlCharacterData {
// Protected Constructors
   protected internal method XmlCDataSection(string data, 
        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 Instance Methods
   public override method XmlNode CloneNode(bool deep);         // overrides XmlNode
   public override method void WriteContentTo(XmlWriter w);     // overrides XmlNode
   public override method void WriteTo(XmlWriter w);            // overrides XmlNode
}

Hierarchy

System.ObjectXmlNode(System.ICloneable, System.Collections.IEnumerable, System.Xml.XPath.IXPathNavigable)XmlLinkedNodeXmlCharacterDataXmlCDataSection

Returned By

XmlDocument.CreateCDataSection()

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.