ContentType Property
The value of the content-type header of the message which was encoded/decoded.
Syntax
ANSI (Cross Platform) char* GetContentType();
int SetContentType(const char* lpszContentType); Unicode (Windows) LPWSTR GetContentType();
INT SetContentType(LPCWSTR lpszContentType);
@property (nonatomic,readwrite,assign,getter=contentType,setter=setContentType:) NSString* contentType; - (NSString*)contentType; - (void)setContentType:(NSString*)newContentType;
#define PID_MIME_CONTENTTYPE 2 IPWORKSOPENPGP_EXTERNAL void* IPWORKSOPENPGP_CALL IPWorksOpenPGP_MIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_MIME_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property contains the value of the content-type header of the message which was encoded/decoded. The class filters it out from the MessageHeaders. It shows the user about the type of the parts and their relation to each other.
The content-type attributes such as filename, boundary, charset etc are held in this property.
Data Type
String