DataDirect XML Converters 5.0 Send comments on this topic.
SetEDIExtension Method
See Also 
DDTek.XmlConverter Namespace > Configuration Class : SetEDIExtension Method




source
source designates the SEF file. It may be one of InputStreamSource, TextReaderSource, or UriSource. If the source parameter is null, the extension object (if any) will be removed from this Configuration;
Load a SEF file to be used by EDI converters.

Syntax

Visual Basic (Declaration) 
Public Sub SetEDIExtension( _
   ByVal source As Source _
) 
Visual Basic (Usage)Copy Code
Dim instance As Configuration
Dim source As Source
 
instance.SetEDIExtension(source)
C# 
public void SetEDIExtension( 
   Source source
)
Managed Extensions for C++ 
public: void SetEDIExtension( 
   Source* source
) 
C++/CLI 
public:
void SetEDIExtension( 
   Source^ source
) 

Parameters

source
source designates the SEF file. It may be one of InputStreamSource, TextReaderSource, or UriSource. If the source parameter is null, the extension object (if any) will be removed from this Configuration;

Remarks

The source parameter must identify a SEF file (EDI Standard Exchange Format). When the setEDIExtension method is called, the input is immediately read and parsed, building an internal representation of the SEF file to be used by subsequent EDI conversions.

Converter objects have an extensive, builtin repository of 100s of EDI standards. For most uses, it is not necessary to provide a SEF file. However, if you need to do a conversion where the data varies from the published EDI standards, you can use a SEF file to identify the necessary modifications to the EDI standards. The SEF file does not need to contain the entire standard, just those parts which have been changed.

If the SEF file was built by the Stylus Studio EDI to XML editor, then it will contain a converter:EDI URI. The properties in that URI will be used for all conversions which use this Configuration 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.