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




A Conversion object contains all the information needed during an ongoing conversion.

Object Model


Syntax

Visual Basic (Declaration) 
Public MustInherit Class Conversion 
Visual Basic (Usage)Copy Code
Dim instance As Conversion
C# 
public abstract class Conversion 
Managed Extensions for C++ 
public __gc abstract class Conversion 
C++/CLI 
public ref class Conversion abstract 

Remarks

A conversion is initiated by creating a Converter object and then calling its Convert method. The Convert method returns a Conversion which controls the conversion process. In some cases, the conversion has already completed when Convert returns the Conversion object; the Conversion object represents a completed conversion. At any time, the status of a conversion can be determined with ConversionStatus.

When the conversion source is a OutputStreamSource, a TextWriterSource or a XmlWriterSource, the conversion will not be complete and system resources will not be released until all data has been delivered or the conversion has been cancelled. The application can:

  • Query the status of the conversion with ConversionStatus.
  • Cancel the conversion with Cancel.
  • Finish the conversion by closing the OutputStream or TextWriter, or by delivering the last EndElement in the XmlWriter data stream.

Inheritance Hierarchy

System.Object
   DDTek.XmlConverter.Conversion

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.