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




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

Syntax

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

Remarks

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.

Inheritance Hierarchy

System.Object
   DDTek.XmlConverter.Source
      DDTek.XmlConverter.OutputStreamSource

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.