IPWorks S/MIME 2020 C++ Edition

Questions / Feedback?

PartFilename Property

This property contains the filename attribute specified in the headers of the part.

Syntax

ANSI (Cross Platform)
char* GetPartFilename(int iPartIdx);
int SetPartFilename(int iPartIdx, const char* lpszPartFilename); Unicode (Windows) LPWSTR GetPartFilename(INT iPartIdx);
INT SetPartFilename(INT iPartIdx, LPCWSTR lpszPartFilename);
- (NSString*)partFilename:(int)partIdx;
- (void)setPartFilename:(int)partIdx:(NSString*)newPartFilename;
#define PID_MIME_PARTFILENAME 18

IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_MIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_MIME_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_MIME_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property contains the filename attribute specified in the headers of the part. Changing the value of the corresponding PartDecodedFile sets automatically the PartFilename and consequently the PartHeaders.

The PartIdx parameter specifies the index of the item in the array. The size of the array is controlled by the PartCount property.

This property is not available at design time.

Data Type

String

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