WhitespaceHandling Enumeration

Specifies how whitespace is handled in XmlTextReader.

Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)

Syntax

public enum WhitespaceHandling

Members

  Member name Description
All Return all Whitespace and SignificantWhitespace nodes. This is the default.
None Do not return any Whitespace or SignificantWhitespace nodes.
Significant Return just SignificantWhitespace, i.e. whitespace nodes that are in scope of xml:space="preserve"

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, and 4.1.

See Also

Reference

System.Xml Namespace