DataDirect XML Converters 5.0 Send comments on this topic.
TextWriterSource Class
See Also  Members  
DDTek.XmlConverter Namespace : TextWriterSource Class




A TextWriterSource can be used to push byte stream source data into a to-XML or from-XML Converter.

Syntax

Visual Basic (Declaration) 
Public Class TextWriterSource 
   Inherits Source
Visual Basic (Usage)Copy Code
Dim instance As TextWriterSource
C# 
public class TextWriterSource : Source 
Managed Extensions for C++ 
public __gc class TextWriterSource : public Source 
C++/CLI 
public ref class TextWriterSource : public Source 

Remarks

This is useful when building a pipeline where one element of the pipeline will be writing character stream data into an Converter object. The caller creates an empty TextWriterSource using the default constructor. The caller starts the conversion by calling the method: Convert That method will return immediately, and the source object will contain an open TextWriter object. The caller uses the TextWriter property to get the TextWriter. The caller then writes characters to that stream, and closes it. The close will signal to the Conversion object that there is no more data and it should finish the conversion.

Inheritance Hierarchy

System.Object
   DDTek.XmlConverter.Source
      DDTek.XmlConverter.TextWriterSource

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.