DataDirect XML Converters 5.0 Send comments on this topic.
Convert(Source,Result,Source) Method
See Also 
DDTek.XmlConverter Namespace > Converter Interface > Convert Method : Convert(Source,Result,Source) Method




dataSource
See the source parameter of the Convert method.
result
See the result parameter of the Convert method.
reportSource
This a Source object containing the report created by the Analyze method.
Start the conversion using both the source data and an analyze report input, and (possibly) wait for completion.

Syntax

Visual Basic (Declaration) 
Overloads Function Convert( _
   ByVal dataSource As Source, _
   ByVal result As Result, _
   ByVal reportSource As Source _
) As Conversion
Visual Basic (Usage)Copy Code
Dim instance As Converter
Dim dataSource As Source
Dim result As Result
Dim reportSource As Source
Dim value As Conversion
 
value = instance.Convert(dataSource, result, reportSource)
C# 
Conversion Convert( 
   Source dataSource,
   Result result,
   Source reportSource
)
Managed Extensions for C++ 
Conversion* Convert( 
   Source* dataSource,
   Result* result,
   Source* reportSource
) 
C++/CLI 
Conversion^ Convert( 
   Source^ dataSource,
   Result^ result,
   Source^ reportSource
) 

Parameters

dataSource
See the source parameter of the Convert method.
result
See the result parameter of the Convert method.
reportSource
This a Source object containing the report created by the Analyze method.

Return Value

The new Conversion object that represents the conversion. The application can ignore this return value if it desires, however the application can use the returned Conversion object to gain additional control over the conversion process.

Remarks

It is important to note that after this method returns, the conversion might not yet be complete, however it is safe to immediately call Convert again on the same Converter object.

This method is to be used in conjunction with the Analyze method. The Analyze method reads its Source data and generates an XML report describing all the interchanges, groups and messages in the input document. This method uses both the source data and the analyze report to generate an output file containing all the interchanges, groups and messages which could be converted without errors. The converter omits all the erroneous parts of the data.

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.