MessageContentType Property

The content type (MIME type) of the message's body.

Syntax

ANSI (Cross Platform)
char* GetMessageContentType();
int SetMessageContentType(const char* lpszMessageContentType); Unicode (Windows) LPWSTR GetMessageContentType();
INT SetMessageContentType(LPCWSTR lpszMessageContentType);
@property (nonatomic,readwrite,assign,getter=messageContentType,setter=setMessageContentType:) NSString* messageContentType;
- (NSString*)messageContentType;
- (void)setMessageContentType:(NSString*)newMessageContentType;
#define PID_AMQPCLASSIC_MESSAGECONTENTTYPE 45

IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_AMQPClassic_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_AMQPClassic_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

The content type (MIME type) of the message's body.

This property holds the content type (MIME type) of the message's body. It may be empty if the message does not have a content type set.

This value must be specified as a string no longer than 255 characters.

This property is not available at design time.

Data Type

String

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