EDI Integrator 2016 .NET Edition
EDI Integrator 2016 .NET Edition
Questions / Feedback?

EDIAttachment Type

This describes the file being attached.

Remarks

Information about the file's location that is being attached to the message is contained here.

Fields

ContentType
String

The MIME content-type of this EDIAttachment.

Data
String

This field contains the attachment data.

In a receiver, the component decodes the attachment to the Data field when Data's value is first queried. This field will contain the full decrypted text of the attachment.

DataB
Byte[]

This field contains the attachment data.

In a receiver, the component decodes the attachment to the Data field when Data's value is first queried. This field will contain the full decrypted text of the attachment.

Filename
String

The file name of the attachment. If IncomingDirectory has been specified, the attachment will be written to the specified directory and the name will be provided by this field. Otherwise, this will contain the name of the attachment as described in the Headers.

Headers
String

The component fills out Headers each time any of the other fields for that EDIAttachment are changed. If additional headers are needed they should be appended after all the other fields for that EDIAttachment are set.

InputStream
System.IO.Stream

If InputStream is specified, the data from the stream specified will be used for the EDI attachment.

Name
String

Name is the final name to be associated with the contents of either the Data or Filename fields. This corresponds to the filename attribute of the Content-Disposition header for this attachment.

OutputStream
System.IO.Stream

The component decodes the attachment of Message when this field's value is first set, and writes the decoded attachment to the stream.

Constructors

[VB.NET]
Public EDIAttachment()

[C#]
public EDIAttachment();



[VB.NET]
Public EDIAttachment(ByVal Filename As String)

[C#]
public EDIAttachment(string filename);



[VB.NET]
Public EDIAttachment(ByVal Filename As String, ByVal ContentType As String)

[C#]
public EDIAttachment(string filename, string contentType);



[VB.NET]
Public EDIAttachment(ByVal Filename As String, ByVal ContentType As String, ByVal Headers As String)

[C#]
public EDIAttachment(string filename, string contentType, string headers);



 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
EDI Integrator 2016 .NET Edition - Version 16.0 [Build 7362]