Name

XmlWhitespace — System.Xml (system.xml.dll) CF 1.0  class 

Synopsis

public class XmlWhitespace : XmlCharacterData {
// Protected Constructors
   protected internal XmlWhitespace( string strData, XmlDocument doc);  
// Public Instance Properties
   public override string LocalName{get; }                            // overrides XmlNode
   public override string Name{get; }                                 // overrides XmlNode
   public override XmlNodeType NodeType{get; }                        // overrides XmlNode
   public override string Value{set; get; }                           // overrides XmlCharacterData
                  // Public Instance Methods
   public override XmlNode CloneNode( bool deep);                     // overrides XmlNode
   public override void WriteContentTo( XmlWriter w);                 // overrides XmlNode
   public override void WriteTo( XmlWriter w);                        // overrides XmlNode
}

This class represents whitespace in element content. Whitespace is ignored if XmlDocument.PreserveWhitespace is not set to true.

Hierarchy

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

Returned By

XmlDocument.CreateWhitespace( )

Get .NET & XML now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.