DataDirect XML Converters 5.0 Send comments on this topic.
CreateConvertToXml(Source) Method
See Also 
DDTek.XmlConverter Namespace > ConverterFactory Class > CreateConvertToXml Method : CreateConvertToXml(Source) Method




conversion
Create a new Converter which can perform a specific Custom XML Conversion.

If the user has built a Custom XML Conversion using Stylus Studio, then this method may be used to create a Converter object to run that Custom XML Conversion.

The Custom XML Conversion Definition is normally stored in a file whose name ends with ".conv".

The Source parameter may be any Source for the .conv file. This method will read the source data into memory and use it to create a new Converter object.

The source of the Custom XML Conversion definition.The Converter object.

Syntax

Visual Basic (Declaration) 
Public Overloads Function CreateConvertToXml( _
   ByVal conversion As Source _
) As ConvertToXml
Visual Basic (Usage)Copy Code
Dim instance As ConverterFactory
Dim conversion As Source
Dim value As ConvertToXml
 
value = instance.CreateConvertToXml(conversion)
C# 
public ConvertToXml CreateConvertToXml( 
   Source conversion
)
Managed Extensions for C++ 
public: ConvertToXml* CreateConvertToXml( 
   Source* conversion
) 
C++/CLI 
public:
ConvertToXml^ CreateConvertToXml( 
   Source^ conversion
) 

Parameters

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.