AttachmentFile Property

This property contains the local file name associated with the attachment.

Syntax

ANSI (Cross Platform)
char* GetAttachmentFile(int iAttachmentIndex);
int SetAttachmentFile(int iAttachmentIndex, const char* lpszAttachmentFile); Unicode (Windows) LPWSTR GetAttachmentFile(INT iAttachmentIndex);
INT SetAttachmentFile(INT iAttachmentIndex, LPCWSTR lpszAttachmentFile);
- (NSString*)attachmentFile:(int)attachmentIndex;
- (void)setAttachmentFile:(int)attachmentIndex:(NSString*)newAttachmentFile;
#define PID_OFFICE365_ATTACHMENTFILE 7

CLOUDMAIL_EXTERNAL void* CLOUDMAIL_CALL CloudMail_Office365_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CLOUDMAIL_EXTERNAL int CLOUDMAIL_CALL CloudMail_Office365_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
CLOUDMAIL_EXTERNAL int CLOUDMAIL_CALL CloudMail_Office365_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This field contains the local file name associated with 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 not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 C++ Edition - Version 20.0 [Build 8308]