Releases all resources used by this DocumentReader.
The DocumentReader class implements the System.IDisposable interface, it is recommended that you follow the standard .NET dispose pattern when using the DocumentReader class. For more information, refer to the System.IDisposable interface documentation in MSD.
For an example, refer to DocumentReader.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2