PartContentTypeAttr Property

The content type attribute, if any, for each part.

Syntax

ANSI (Cross Platform)
char* GetPartContentTypeAttr(int iPartIdx);
int SetPartContentTypeAttr(int iPartIdx, const char* lpszPartContentTypeAttr); Unicode (Windows) LPWSTR GetPartContentTypeAttr(INT iPartIdx);
INT SetPartContentTypeAttr(INT iPartIdx, LPCWSTR lpszPartContentTypeAttr);
- (NSString*)partContentTypeAttr:(int)partIdx;
- (void)setPartContentTypeAttr:(int)partIdx:(NSString*)newPartContentTypeAttr;
#define PID_MIME_PARTCONTENTTYPEATTR 14

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_MIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_MIME_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_MIME_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

The content type attribute, if any, for each part. Setting this 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 2020 C++ Edition - Version 20.0 [Build 8307]