AttachmentFilename Property

The file name of the attachment.

Syntax

ANSI (Cross Platform)
char* GetAttachmentFilename(int iAttachmentIndex);
int SetAttachmentFilename(int iAttachmentIndex, const char* lpszAttachmentFilename); Unicode (Windows) LPWSTR GetAttachmentFilename(INT iAttachmentIndex);
INT SetAttachmentFilename(INT iAttachmentIndex, LPCWSTR lpszAttachmentFilename);
- (NSString*)attachmentFilename:(int)attachmentIndex;
- (void)setAttachmentFilename:(int)attachmentIndex:(NSString*)newAttachmentFilename;
#define PID_AS2SENDER_ATTACHMENTFILENAME 8

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2Sender_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

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 property. Otherwise, this will contain the name of the attachment as described in the AttachmentHeaders.

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 not available at design time.

Data Type

String

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