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
public EDIAttachment();
Public EDIAttachment()
public EDIAttachment(string filename);
Public EDIAttachment(ByVal Filename As String)
public EDIAttachment(string filename, string contentType);
Public EDIAttachment(ByVal Filename As String, ByVal ContentType As String)
public EDIAttachment(string filename, string contentType, string headers);
Public EDIAttachment(ByVal Filename As String, ByVal ContentType As String, ByVal Headers As String)