Visual Basic (Declaration) | |
---|---|
Public Class OutputStreamSource Inherits Source |
Visual Basic (Usage) | ![]() |
---|---|
|
C# | |
---|---|
public class OutputStreamSource : Source |
Managed Extensions for C++ | |
---|---|
public __gc class OutputStreamSource : public Source |
C++/CLI | |
---|---|
public ref class OutputStreamSource : public Source |
This is useful when building a pipeline where one element
of the pipeline will be writing byte stream data into a Converter object.
The caller creates an empty OutputStreamSource using the
default constructor. The caller starts the conversion by calling the method:
Convert
That method will return immediately, and the OutputStreamSource object will contain an open
Stream object. The caller then uses the property
OutputStream
to get the Stream.
The caller then writes data bytes 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.OutputStreamSource
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