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




An XmlWriterSource can be used to push XML source data into a from-XML Converter.

Syntax

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

Remarks

This is useful when building a pipeline where one element of the pipeline will be writing XML event data into a Converter object. The caller creates an empty XmlWriterSource 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 XmlWriter object. The caller uses the XmlWriter property to get the XmlWriter. The caller then writes XML data to the XmlWriter. It is not necessary to close the XmlWriter. As soon as the caller writes the end element which matches the first start element, the conversion will complete.

Inheritance Hierarchy

System.Object
   DDTek.XmlConverter.Source
      DDTek.XmlConverter.XmlWriterSource

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.