Mono Class Library: System.Xml.XmlTextReader Overview | MembersSystem.Xml.XmlTextReader.WhitespaceHandling Property |
Gets or sets a value that specifies the type of white space returned by the reader. [Edit]
|
One of the members of the System.Xml.WhitespaceHandling enumeration. The default is WhitespaceHandling.All (returns both significant and insignificant white space). [Edit]
Type Reason ArgumentOutOfRangeException The value to be set is not one of the members of the System.Xml.WhitespaceHandling enumeration. [Edit] InvalidOperationException When setting the property, the XmlTextReader.ReadState is ReadState.Closed. [Edit]
This property can be changed at any time before the current instance is closed and takes affect on the next read operation.
Note:[Edit]Because an instance of the System.Xml.XmlTextReader class does not have DTD information available to it, SignificantWhitespace nodes are only returned within the xml:space="preserve" scope.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0