AttachmentName Property

Name is the final name to be associated with the contents of either the Data or Filename properties.

Syntax

ANSI (Cross Platform)
char* GetAttachmentName(int iAttachmentIndex);
int SetAttachmentName(int iAttachmentIndex, const char* lpszAttachmentName); Unicode (Windows) LPWSTR GetAttachmentName(INT iAttachmentIndex);
INT SetAttachmentName(INT iAttachmentIndex, LPCWSTR lpszAttachmentName);
- (NSString*)attachmentName:(int)attachmentIndex;
- (void)setAttachmentName:(int)attachmentIndex:(NSString*)newAttachmentName;
#define PID_AS2SENDER_ATTACHMENTNAME 10

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

AttachmentName is the final name to be associated with the contents of either the AttachmentData or AttachmentFilename properties. This corresponds to the filename attribute of the Content-Disposition header for this 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 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 8162]