One of the members of the System.Xml.WhitespaceHandling enumeration. The default is WhitespaceHandling.All (returns both significant and insignificant white space).
Type Reason ArgumentOutOfRangeException The value to be set is not one of the members of the System.Xml.WhitespaceHandling enumeration. InvalidOperationException When setting the property, the XmlTextReader.ReadState is ReadState.Closed.
In the dnprdnext release, the recommended practice is to create System.Xml.XmlReader instances using the erload:System.Xml.XmlReader.Create method. This allows you to take full advantage of the new features introduced in this release. For more information, see Creating XML Readers.
This property can be changed at any time and takes effect on the next read operation.
Because the XmlTextReader does not have DTD information available to it, SignificantWhitepsace nodes are only returned within an xml:space='preserve' scope.