IPWorks S/MIME 2020 C++ Edition

Questions / Feedback?

PartContentType Property

Content type for each part.

Syntax

ANSI (Cross Platform)
char* GetPartContentType(int iPartIdx);
int SetPartContentType(int iPartIdx, const char* lpszPartContentType); Unicode (Windows) LPWSTR GetPartContentType(INT iPartIdx);
INT SetPartContentType(INT iPartIdx, LPCWSTR lpszPartContentType);
- (NSString*)partContentType:(int)partIdx;
- (void)setPartContentType:(int)partIdx:(NSString*)newPartContentType;
#define PID_MIME_PARTCONTENTTYPE 13

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

Content type for each part. The value of this property is used in the Content-Type header. Typical values include "image/gif", "text/plain" etc. The class fills it out each time the PartDecodedFile is changed. Changing This property recalculates the PartHeaders as well.

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]