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




conversion
Specifies the type of XML Converter. The conversion is specified as a converter Uri such as:
  • converter:CSV:first=yes
  • converter:EDI:dialect=EDIFACT:message=INVOIC:version=D06B
Note: the "converter:" prefix is optional.
Note: the parameters supplied in the converter Uri are generally different than the parameters used with CreateConvertToXML and CreateConvertFromXML. The parameters control details of the schema generation process rather than the details of the ToXML or FromXML process.
Create a new SchemaGenerator which can produce an XML schema file for a specific XML Converter.

Syntax

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

Parameters

conversion
Specifies the type of XML Converter. The conversion is specified as a converter Uri such as:
  • converter:CSV:first=yes
  • converter:EDI:dialect=EDIFACT:message=INVOIC:version=D06B
Note: the "converter:" prefix is optional.
Note: the parameters supplied in the converter Uri are generally different than the parameters used with CreateConvertToXML and CreateConvertFromXML. The parameters control details of the schema generation process rather than the details of the ToXML or FromXML process.

Return Value

The SchemaGenerator object.

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.