IXmlTextParser.WhitespaceHandling Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets how white space is handled when parsing XML.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

WhitespaceHandling WhitespaceHandling { get; set; }

Property Value

Type: System.Xml.WhitespaceHandling

A member of the WhitespaceHandling enumeration that describes how whites pace is handled when parsing XML.

You should not implement the IXmlTextParser interface and Normalized property in your code. Instead use the Normalization property of the XmlTextReader class.

.NET Framework
Available since 2.0
Return to top