AttachData Property
The content of the attachment.
Syntax
ANSI (Cross Platform) int GetAttachData(int iAttachIndex, char* &lpAttachData, int &lenAttachData);
int SetAttachData(int iAttachIndex, const char* lpAttachData, int lenAttachData); Unicode (Windows) INT GetAttachData(INT iAttachIndex, LPSTR &lpAttachData, INT &lenAttachData);
INT SetAttachData(INT iAttachIndex, LPCSTR lpAttachData, INT lenAttachData);
- (NSData*)attachData:(int)attachIndex; - (void)setAttachData:(int)attachIndex:(NSData*)newAttachData;
#define PID_MAILWRITER_ATTACHDATA 6 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_MailWriter_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_MailWriter_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_MailWriter_CheckIndex(void *lpObj, int propid, int arridx);
Remarks
The content of the attachment.
The AttachIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AttachCount property.
This property is not available at design time.
Data Type
Byte Array