ContentType Property
Content type to send for an object.
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_LINODE_CONTENTTYPE 10 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_Linode_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_Linode_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property can be set before calling CreateObject to have its value submitted as the object's Content-Type header value. This same value will then be returned in the Content-Type header by the server anytime the object is downloaded.
This property is not available at design time.
Data Type
String