|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Type Support in the System.Xml Classes
In the .NET Framework version 2.0, the core XML classes have been enhanced to include type support features. The XmlReader, XmlWriter, and XPathNavigator classes include type support features including the ability to convert between XML Schema types and common language runtime (CLR) types.
The ReadContentAs and ReadElementContentAs and methods on the XmlReader class read a text value and convert it to a CLR value in a single method call.
In the .NET Framework version 1.0 the XmlConvert class was needed to convert between XML Schema and CLR types.