Visual Basic (Declaration) | |
---|---|
Public Class TextWriterSource Inherits Source |
Visual Basic (Usage) | ![]() |
---|---|
|
C# | |
---|---|
public class TextWriterSource : Source |
Managed Extensions for C++ | |
---|---|
public __gc class TextWriterSource : public Source |
C++/CLI | |
---|---|
public ref class TextWriterSource : public Source |
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.
DDTek.XmlConverter.Source
DDTek.XmlConverter.TextWriterSource
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