AttachmentData Property

This property contains the attachment data.

Syntax

ANSI (Cross Platform)
int GetAttachmentData(int iAttachmentIndex, char* &lpAttachmentData, int &lenAttachmentData);

Unicode (Windows)
INT GetAttachmentData(INT iAttachmentIndex, LPSTR &lpAttachmentData, INT &lenAttachmentData);
- (NSString*)attachmentData:(int)attachmentIndex;

- (NSData*)attachmentDataB:(int)attachmentIndex;
#define PID_AS2RECEIVER_ATTACHMENTDATA 5

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_AS2Receiver_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2Receiver_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property contains the attachment data.

In a receiver, the class decodes the attachment to the AttachmentData property when AttachmentData's value is first queried. This property will contain the full decrypted text of the attachment.

The AttachmentIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AttachmentCount property.

This property is read-only and not available at design time.

Data Type

Binary String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 C++ Edition - Version 20.0 [Build 8203]