AttachmentData Property
This property contains the raw data of the attachment.
Syntax
ANSI (Cross Platform) int GetAttachmentData(int iAttachmentIndex, char* &lpAttachmentData, int &lenAttachmentData);
int SetAttachmentData(int iAttachmentIndex, const char* lpAttachmentData, int lenAttachmentData); Unicode (Windows) INT GetAttachmentData(INT iAttachmentIndex, LPSTR &lpAttachmentData, INT &lenAttachmentData);
INT SetAttachmentData(INT iAttachmentIndex, LPCSTR lpAttachmentData, INT lenAttachmentData);
- (NSString*)attachmentData:(int)attachmentIndex; - (void)setAttachmentData:(int)attachmentIndex:(NSString*)newAttachmentData;
- (NSData*)attachmentDataB:(int)attachmentIndex; - (void)setAttachmentDataB:(int)attachmentIndex:(NSData*)newAttachmentData;
#define PID_OFFICE365_ATTACHMENTDATA 6 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 raw data 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 not available at design time.
Data Type
Binary String